@@ -11,7 +11,6 @@ |
||
11 | 11 | namespace Go\Console\Command; |
12 | 12 | |
13 | 13 | use Go\Aop\Advisor; |
14 | -use Go\Aop\Pointcut; |
|
15 | 14 | use Go\Core\AdviceMatcher; |
16 | 15 | use Go\Core\AspectContainer; |
17 | 16 | use Go\Core\AspectLoader; |
@@ -110,7 +110,7 @@ |
||
110 | 110 | $iterator->rewind(); |
111 | 111 | |
112 | 112 | foreach ($iterator as $file) { |
113 | - $reflectionFile = new ReflectionFile((string)$file); |
|
113 | + $reflectionFile = new ReflectionFile((string) $file); |
|
114 | 114 | $reflectionNamespaces = $reflectionFile->getFileNamespaces(); |
115 | 115 | foreach ($reflectionNamespaces as $reflectionNamespace) { |
116 | 116 | foreach ($reflectionNamespace->getClasses() as $reflectionClass) { |
@@ -129,7 +129,7 @@ |
||
129 | 129 | * |
130 | 130 | * @param string $comment |
131 | 131 | * |
132 | - * @return mixed|string |
|
132 | + * @return string |
|
133 | 133 | */ |
134 | 134 | private function getPrettyText($comment) |
135 | 135 | { |
@@ -55,7 +55,7 @@ discard block |
||
55 | 55 | |
56 | 56 | $aspectName = $input->getOption('aspect'); |
57 | 57 | if (!$aspectName) { |
58 | - $io->text('<info>' . get_class($this->aspectKernel). '</info> has following enabled aspects:'); |
|
58 | + $io->text('<info>' . get_class($this->aspectKernel) . '</info> has following enabled aspects:'); |
|
59 | 59 | $aspects = $container->getByTag('aspect'); |
60 | 60 | } else { |
61 | 61 | $aspect = $container->getAspect($aspectName); |
@@ -112,7 +112,7 @@ discard block |
||
112 | 112 | $aspectItems = $aspectLoader->load($aspect); |
113 | 113 | $aspectItemsInfo = []; |
114 | 114 | foreach ($aspectItems as $itemId => $item) { |
115 | - $itemType = 'Unknown'; |
|
115 | + $itemType = 'Unknown'; |
|
116 | 116 | if ($item instanceof Pointcut) { |
117 | 117 | $itemType = 'Pointcut'; |
118 | 118 | } |