@@ -33,8 +33,8 @@ discard block |
||
33 | 33 | */ |
34 | 34 | public function caption() { |
35 | 35 | return |
36 | - $this->unCamelize($this->method->getDeclaringClass()->getShortName()) . |
|
37 | - ': ' . $this->unCamelize($this->method->name); |
|
36 | + $this->unCamelize($this->method->getDeclaringClass()->getShortName()). |
|
37 | + ': '.$this->unCamelize($this->method->name); |
|
38 | 38 | } |
39 | 39 | |
40 | 40 | protected function unCamelize($camel) { |
@@ -46,10 +46,10 @@ discard block |
||
46 | 46 | */ |
47 | 47 | public function description() { |
48 | 48 | $lines = array_slice(explode("\n", $this->method->getDocComment()), 1, -1); |
49 | - $lines = array_map(function ($line) { |
|
49 | + $lines = array_map(function($line) { |
|
50 | 50 | return ltrim($line, ' *'); |
51 | 51 | }, $lines); |
52 | - $lines = array_filter($lines, function ($line) { |
|
52 | + $lines = array_filter($lines, function($line) { |
|
53 | 53 | return substr($line, 0, 1) != '@'; |
54 | 54 | }); |
55 | 55 | return $this->parser->parse(trim(implode("\n", $lines))); |
@@ -26,9 +26,9 @@ |
||
26 | 26 | * @throws \Exception if Action cannot be executed |
27 | 27 | */ |
28 | 28 | public function execute(array $parameters) { |
29 | - $injector = function () { |
|
29 | + $injector = function() { |
|
30 | 30 | }; |
31 | - $filter = function () { |
|
31 | + $filter = function() { |
|
32 | 32 | return true; |
33 | 33 | }; |
34 | 34 |