Completed
Push — master ( a96253...c20805 )
by Nikolas
02:38
created
src/reflection/StaticMethodAction.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -33,8 +33,8 @@  discard block
 block discarded – undo
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
 block discarded – undo
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)));
Please login to merge, or discard this patch.
src/reflection/MethodAction.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -26,9 +26,9 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.