@@ -39,9 +39,9 @@ |
||
39 | 39 | public function beforeMethodExecution(MethodInvocation $invocation) |
40 | 40 | { |
41 | 41 | echo 'Calling Before Interceptor for ', |
42 | - $invocation, |
|
43 | - ' with arguments: ', |
|
44 | - json_encode($invocation->getArguments()), |
|
45 | - PHP_EOL; |
|
42 | + $invocation, |
|
43 | + ' with arguments: ', |
|
44 | + json_encode($invocation->getArguments()), |
|
45 | + PHP_EOL; |
|
46 | 46 | } |
47 | 47 | } |
@@ -83,10 +83,10 @@ |
||
83 | 83 | * |
84 | 84 | * @return object |
85 | 85 | */ |
86 | - public function getStaticPart() |
|
87 | - { |
|
88 | - return $this->reflectionFunction; |
|
89 | - } |
|
86 | + public function getStaticPart() |
|
87 | + { |
|
88 | + return $this->reflectionFunction; |
|
89 | + } |
|
90 | 90 | |
91 | 91 | /** |
92 | 92 | * Invokes current function invocation with all interceptors |
@@ -55,6 +55,6 @@ |
||
55 | 55 | */ |
56 | 56 | public function getKind() |
57 | 57 | { |
58 | - return $this->filterKind; |
|
58 | + return $this->filterKind; |
|
59 | 59 | } |
60 | 60 | } |
@@ -34,7 +34,7 @@ |
||
34 | 34 | */ |
35 | 35 | public function getAnnotation($annotationName) |
36 | 36 | { |
37 | - return self::getReader()->getMethodAnnotation($this, $annotationName); |
|
37 | + return self::getReader()->getMethodAnnotation($this, $annotationName); |
|
38 | 38 | } |
39 | 39 | |
40 | 40 | /** |
@@ -82,13 +82,13 @@ |
||
82 | 82 | return $this->parser->parse($class->getDocComment(), 'class '.$class->getName()); |
83 | 83 | } |
84 | 84 | |
85 | - /** |
|
86 | - * Gets the annotations applied to a method. |
|
87 | - * |
|
88 | - * @param ParsedReflectionMethod $method The ReflectionMethod of the method from which |
|
89 | - * the annotations should be read. |
|
90 | - * @return array An array of Annotations. |
|
91 | - */ |
|
85 | + /** |
|
86 | + * Gets the annotations applied to a method. |
|
87 | + * |
|
88 | + * @param ParsedReflectionMethod $method The ReflectionMethod of the method from which |
|
89 | + * the annotations should be read. |
|
90 | + * @return array An array of Annotations. |
|
91 | + */ |
|
92 | 92 | public function getMethodAnnotations(ParsedReflectionMethod $method) |
93 | 93 | { |
94 | 94 | $this->parser->setTarget(Target::TARGET_METHOD); |