X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=Civi.php;h=95009e35c3fd3df36ba03e43dca7b844d78b9818;hb=2f3d066430fee67f5e00166e6603e4ec5177ef42;hp=12b2119b45bc846ca7472b3ac6a518c5140532fb;hpb=e9978cfb12e0475f773e184edafc8a488d794816;p=civicrm-core.git diff --git a/Civi.php b/Civi.php index 12b2119b45..95009e35c3 100644 --- a/Civi.php +++ b/Civi.php @@ -19,11 +19,11 @@ class Civi { /** * A central location for static variable storage. * @var array - * @code + * ``` * `Civi::$statics[__CLASS__]['foo'] = 'bar'; - * @endcode + * ``` */ - public static $statics = array(); + public static $statics = []; /** * Retrieve a named cache instance. @@ -75,7 +75,7 @@ class Civi { } /** - * @return \Psr\Log\LoggerInterface + * @return \CRM_Core_Error_Log */ public static function log() { return Civi\Core\Container::singleton()->get('psr_log'); @@ -106,7 +106,7 @@ class Civi { * singletons, containers. */ public static function reset() { - self::$statics = array(); + self::$statics = []; Civi\Core\Container::singleton(); }