@@ -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,7 +53,7 @@ |
||
| 53 | 53 | /** |
| 54 | 54 | * Getter for extracting the advice closure from Interceptor |
| 55 | 55 | * |
| 56 | - * @return callable|null |
|
| 56 | + * @return null|\Closure |
|
| 57 | 57 | */ |
| 58 | 58 | public function getRawAdvice() |
| 59 | 59 | { |
@@ -84,7 +84,7 @@ |
||
| 84 | 84 | /** |
| 85 | 85 | * Returns an advice |
| 86 | 86 | * |
| 87 | - * @return callable |
|
| 87 | + * @return \Closure |
|
| 88 | 88 | */ |
| 89 | 89 | private function getDeclareErrorAdvice() |
| 90 | 90 | { |
@@ -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 | { |
@@ -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 | { |