@@ -106,7 +106,7 @@ |
||
106 | 106 | |
107 | 107 | /** |
108 | 108 | * @param string $resource |
109 | - * @return bool|string |
|
109 | + * @return false|string |
|
110 | 110 | */ |
111 | 111 | public function getCachePathForResource($resource) |
112 | 112 | { |
@@ -88,7 +88,7 @@ |
||
88 | 88 | /** |
89 | 89 | * Returns list of string representation of parameters |
90 | 90 | * |
91 | - * @param array|ReflectionParameter[] $parameters List of parameters |
|
91 | + * @param ReflectionParameter[] $parameters List of parameters |
|
92 | 92 | * |
93 | 93 | * @return array |
94 | 94 | */ |
@@ -253,7 +253,7 @@ |
||
253 | 253 | * Save AOP proxy to the separate file anr returns the php source code for inclusion |
254 | 254 | * |
255 | 255 | * @param ReflectionClass $class Original class reflection |
256 | - * @param string|ClassProxy $child |
|
256 | + * @param ClassProxy $child |
|
257 | 257 | * |
258 | 258 | * @return string |
259 | 259 | */ |
@@ -123,7 +123,7 @@ discard block |
||
123 | 123 | * |
124 | 124 | * @param int $stackLevel Stack level for check |
125 | 125 | * |
126 | - * @return true if access is OK |
|
126 | + * @return boolean if access is OK |
|
127 | 127 | */ |
128 | 128 | public function ensureScopeRule($stackLevel = 2) |
129 | 129 | { |
@@ -165,7 +165,7 @@ discard block |
||
165 | 165 | /** |
166 | 166 | * Invokes current field access with all interceptors |
167 | 167 | * |
168 | - * @param object $instance Instance of object |
|
168 | + * @param \Go\Proxy\PropertyInterceptionTrait $instance Instance of object |
|
169 | 169 | * @param integer $accessType Type of access: READ or WRITE |
170 | 170 | * @param mixed $originalValue Original value of property |
171 | 171 | * @param mixed $newValue New value to set |
@@ -219,7 +219,7 @@ discard block |
||
219 | 219 | /** |
220 | 220 | * Returns the static part of this joinpoint. |
221 | 221 | * |
222 | - * @return object |
|
222 | + * @return ReflectionProperty |
|
223 | 223 | */ |
224 | 224 | final public function getStaticPart() |
225 | 225 | { |
@@ -35,7 +35,7 @@ |
||
35 | 35 | /** |
36 | 36 | * And constructor |
37 | 37 | * |
38 | - * @param PointFilter[] $filters List of filters to combine |
|
38 | + * @param PointFilter $filters List of filters to combine |
|
39 | 39 | */ |
40 | 40 | public function __construct(PointFilter ...$filters) |
41 | 41 | { |
@@ -35,7 +35,7 @@ |
||
35 | 35 | /** |
36 | 36 | * Or constructor |
37 | 37 | * |
38 | - * @param PointFilter[] $filters List of filters to combine |
|
38 | + * @param PointFilter $filters List of filters to combine |
|
39 | 39 | */ |
40 | 40 | public function __construct(PointFilter ...$filters) |
41 | 41 | { |
@@ -62,7 +62,7 @@ |
||
62 | 62 | /** |
63 | 63 | * Returns an enumerator for files |
64 | 64 | * |
65 | - * @return CallbackFilterIterator|RecursiveIteratorIterator|\IteratorIterator|SplFileInfo[] |
|
65 | + * @return \Traversable |
|
66 | 66 | * @throws UnexpectedValueException |
67 | 67 | * @throws InvalidArgumentException |
68 | 68 | * @throws LogicException |