@@ -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 | { |
@@ -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; |