From 3be754d627884b8d51b5aeded3392aaf761efa92 Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Fri, 18 Apr 2014 15:47:11 -0700 Subject: [PATCH] CRM_Core_Resources - Fix PhpStorm warnings --- CRM/Core/Resources.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CRM/Core/Resources.php b/CRM/Core/Resources.php index 7b0430ef9e..4661484d28 100644 --- a/CRM/Core/Resources.php +++ b/CRM/Core/Resources.php @@ -128,8 +128,8 @@ class CRM_Core_Resources { * Construct a resource manager * * @param CRM_Extension_Mapper $extMapper Map extension names to their base path or URLs. - * @param $cache - * @param null $cacheCodeKey + * @param CRM_Utils_Cache_Interface $cache JS-localization cache + * @param string|null $cacheCodeKey Random code to append to resource URLs; changing the code forces clients to reload resources */ public function __construct($extMapper, $cache, $cacheCodeKey = NULL) { $this->extMapper = $extMapper; @@ -241,7 +241,7 @@ class CRM_Core_Resources { /** * Add JavaScript variables to the global CRM object via a callback function. * - * @param $callable function + * @param callable $callable * @return CRM_Core_Resources */ public function addSettingsFactory($callable) { -- 2.25.1