@@ -58,7 +58,7 @@ |
||
58 | 58 | * Get the annotation reader that is used. |
59 | 59 | * Initializes it if it doesn't already exists. |
60 | 60 | * |
61 | - * @return Reader The annotation reader. |
|
61 | + * @return null|Reader The annotation reader. |
|
62 | 62 | */ |
63 | 63 | public static function getAnnotationReader() |
64 | 64 | { |
@@ -155,10 +155,10 @@ |
||
155 | 155 | } |
156 | 156 | |
157 | 157 | /** |
158 | - * Get the cache driver that will be used. |
|
159 | - * |
|
160 | - * @return Cache The cache driver. |
|
161 | - */ |
|
158 | + * Get the cache driver that will be used. |
|
159 | + * |
|
160 | + * @return Cache The cache driver. |
|
161 | + */ |
|
162 | 162 | public static function getCacheDriver() |
163 | 163 | { |
164 | 164 | return self::$cacheDriver; |
@@ -139,7 +139,7 @@ |
||
139 | 139 | * @param Cache $cache The cache driver. |
140 | 140 | * @param string $namespace The cache namespace. |
141 | 141 | */ |
142 | - private static function setCache(Cache &$cacheToChange = null, Cache $cache = null, $namespace = null) |
|
142 | + private static function setCache(Cache & $cacheToChange = null, Cache $cache = null, $namespace = null) |
|
143 | 143 | { |
144 | 144 | if ($namespace === null) { |
145 | 145 | $namespace = self::$cacheDefaultNamespace; |