/**
* 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.
}
/**
- * @return \Psr\Log\LoggerInterface
+ * @return \CRM_Core_Error_Log
*/
public static function log() {
return Civi\Core\Container::singleton()->get('psr_log');
* singletons, containers.
*/
public static function reset() {
- self::$statics = array();
+ self::$statics = [];
Civi\Core\Container::singleton();
}