@@ -22,7 +22,7 @@ |
||
22 | 22 | * Executes a task and logs all incoming arguments |
23 | 23 | * |
24 | 24 | * @Loggable |
25 | - * @param mixed $task Some specific argument |
|
25 | + * @param string $task Some specific argument |
|
26 | 26 | */ |
27 | 27 | public function execute($task) |
28 | 28 | { |
@@ -140,7 +140,7 @@ |
||
140 | 140 | * @param Aspect $aspect Instance of aspect |
141 | 141 | * @param ReflectionMethod $refMethod Reflection method of aspect |
142 | 142 | * |
143 | - * @return callable|object |
|
143 | + * @return \Closure |
|
144 | 144 | */ |
145 | 145 | public static function fromAspectReflection(Aspect $aspect, ReflectionMethod $refMethod) |
146 | 146 | { |
@@ -53,6 +53,7 @@ discard block |
||
53 | 53 | * |
54 | 54 | * @param string $className Class name |
55 | 55 | * @param $advices array List of advices for this invocation |
56 | + * @param string $type |
|
56 | 57 | */ |
57 | 58 | public function __construct($className, $type, array $advices) |
58 | 59 | { |
@@ -123,7 +124,7 @@ discard block |
||
123 | 124 | /** |
124 | 125 | * Returns the static part of this joinpoint. |
125 | 126 | * |
126 | - * @return object |
|
127 | + * @return null|ReflectionMethod |
|
127 | 128 | */ |
128 | 129 | public function getStaticPart() |
129 | 130 | { |
@@ -90,6 +90,9 @@ |
||
90 | 90 | return $this->nsFilter; |
91 | 91 | } |
92 | 92 | |
93 | + /** |
|
94 | + * @param \Go\Aop\Support\SimpleNamespaceFilter $nsFilter |
|
95 | + */ |
|
93 | 96 | public function setNamespaceFilter($nsFilter) |
94 | 97 | { |
95 | 98 | $this->nsFilter = $nsFilter; |
@@ -305,7 +305,7 @@ discard block |
||
305 | 305 | /** |
306 | 306 | * Returns callable for converting node(s) to the string |
307 | 307 | * |
308 | - * @return callable |
|
308 | + * @return \Closure |
|
309 | 309 | */ |
310 | 310 | private function getNodeToStringConverter() |
311 | 311 | { |
@@ -326,7 +326,7 @@ discard block |
||
326 | 326 | /** |
327 | 327 | * Returns callable for converting node value for modifiers to the constant value |
328 | 328 | * |
329 | - * @return callable |
|
329 | + * @return \Closure |
|
330 | 330 | */ |
331 | 331 | private function getModifierConverter() |
332 | 332 | { |
@@ -73,7 +73,7 @@ |
||
73 | 73 | /** |
74 | 74 | * Returns an advice to apply |
75 | 75 | * |
76 | - * @return Advice|IntroductionInfo|null |
|
76 | + * @return null|IntroductionInfo |
|
77 | 77 | */ |
78 | 78 | public function getAdvice() |
79 | 79 | { |
@@ -76,7 +76,7 @@ discard block |
||
76 | 76 | * |
77 | 77 | * @param Aspect $aspect Instance of aspect |
78 | 78 | * @param ReflectionMethod|ReflectionProperty $reflection |
79 | - * @param $metaInformation |
|
79 | + * @param Annotation\BaseAnnotation $metaInformation |
|
80 | 80 | * |
81 | 81 | * @return TokenStream |
82 | 82 | * @throws \UnexpectedValueException |
@@ -109,7 +109,7 @@ discard block |
||
109 | 109 | * Performs parsing of pointcut |
110 | 110 | * |
111 | 111 | * @param ReflectionMethod|ReflectionProperty $reflection |
112 | - * @param $metaInformation |
|
112 | + * @param Annotation\BaseAnnotation $metaInformation |
|
113 | 113 | * @param TokenStream $stream |
114 | 114 | * @return Pointcut |
115 | 115 | * |
@@ -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 | { |
@@ -124,7 +124,7 @@ |
||
124 | 124 | /** |
125 | 125 | * Transforms source code by passing it through all transformers |
126 | 126 | * |
127 | - * @param StreamMetaData|null $metadata Metadata from stream |
|
127 | + * @param StreamMetaData $metadata Metadata from stream |
|
128 | 128 | * @return void|bool Return false if transformation should be stopped |
129 | 129 | */ |
130 | 130 | public static function transformCode(StreamMetaData $metadata) |