Completed
Push — master ( 82cd1d...312098 )
by Nikolas
163:59 queued 138:22
created
src/delivery/web/renderers/link/types/IdentifierLink.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -11,9 +11,9 @@
 block discarded – undo
11 11
      * @param string $identifierKey
12 12
      */
13 13
     public function __construct($target, $actionId, $identifierKey) {
14
-        parent::__construct($actionId, function ($object) {
14
+        parent::__construct($actionId, function($object) {
15 15
             return $object instanceof Identifier;
16
-        }, function (Identifier $object) use ($identifierKey) {
16
+        }, function(Identifier $object) use ($identifierKey) {
17 17
             return [$identifierKey => $object->getId()];
18 18
         });
19 19
     }
Please login to merge, or discard this patch.
src/delivery/web/renderers/tables/types/ObjectTable.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
 
29 29
         if ($objects) {
30 30
             $reader = new PropertyReader($types, get_class($objects[0]));
31
-            $this->properties = $reader->readInterface($objects[0])->filter(function (Property $property) {
31
+            $this->properties = $reader->readInterface($objects[0])->filter(function(Property $property) {
32 32
                 return $property->canGet();
33 33
             });
34 34
         }
Please login to merge, or discard this patch.
src/reflection/MethodAction.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -49,10 +49,10 @@  discard block
 block discarded – undo
49 49
      */
50 50
     public function description() {
51 51
         $lines = array_slice(explode("\n", $this->method->getDocComment()), 1, -1);
52
-        $lines = array_map(function ($line) {
52
+        $lines = array_map(function($line) {
53 53
             return ltrim($line, ' *');
54 54
         }, $lines);
55
-        $lines = array_filter($lines, function ($line) {
55
+        $lines = array_filter($lines, function($line) {
56 56
             return substr($line, 0, 1) != '@';
57 57
         });
58 58
         return $this->parser->parse(trim(implode("\n", $lines)));
@@ -93,9 +93,9 @@  discard block
 block discarded – undo
93 93
      * @throws \Exception if Action cannot be executed
94 94
      */
95 95
     public function execute(array $parameters) {
96
-        $injector = function () {
96
+        $injector = function() {
97 97
         };
98
-        $filter = function () {
98
+        $filter = function() {
99 99
             return true;
100 100
         };
101 101
 
Please login to merge, or discard this patch.
src/reflection/ObjectAction.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
             return null;
55 55
         }
56 56
 
57
-        return $this->parser->parse(implode("\n", array_map(function ($line) {
57
+        return $this->parser->parse(implode("\n", array_map(function($line) {
58 58
             return ltrim($line, " *\r\n\t");
59 59
         }, array_slice(explode("\n", $docComment), 1, -1))));
60 60
     }
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
 
101 101
     protected function createInstance(array $parameters) {
102 102
         $injector = new Injector(new Factory());
103
-        $instance = $injector->injectConstructor($this->class->name, $parameters, function () {
103
+        $instance = $injector->injectConstructor($this->class->name, $parameters, function() {
104 104
             return false;
105 105
         });
106 106
 
Please login to merge, or discard this patch.
src/delivery/cli/fields/ObjectField.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
         }
55 55
 
56 56
         $injector = new Injector(new Factory());
57
-        $instance = $injector->injectConstructor($this->getClass($parameter), $properties, function () {
57
+        $instance = $injector->injectConstructor($this->getClass($parameter), $properties, function() {
58 58
             return false;
59 59
         });
60 60
 
Please login to merge, or discard this patch.
src/delivery/web/fields/ActionField.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
 
25 25
     /**
26 26
      * @param array $value
27
-     * @return mixed
27
+     * @return string
28 28
      */
29 29
     public function render($value) {
30 30
         $items = [];
Please login to merge, or discard this patch.
src/reflection/GenericAction.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@
 block discarded – undo
74 74
      * @throws \Exception
75 75
      */
76 76
     public function parameters() {
77
-        return array_map(function (Parameter $parameter) {
77
+        return array_map(function(Parameter $parameter) {
78 78
             if (array_key_exists($parameter->getName(), $this->paramMap)) {
79 79
                 return call_user_func($this->paramMap[$parameter->getName()], $parameter);
80 80
             }
Please login to merge, or discard this patch.
src/reflection/GenericObjectAction.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,10 +19,10 @@
 block discarded – undo
19 19
             ->setCaption(parent::caption())
20 20
             ->setDescription(parent::description())
21 21
             ->setParameters(parent::parameters())
22
-            ->setExecute(function ($parameters) {
22
+            ->setExecute(function($parameters) {
23 23
                 return parent::execute($parameters);
24 24
             })
25
-            ->setFill(function ($parameters) {
25
+            ->setFill(function($parameters) {
26 26
                 return $parameters;
27 27
             });
28 28
     }
Please login to merge, or discard this patch.
src/reflection/GenericMethodAction.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,10 +19,10 @@
 block discarded – undo
19 19
             ->setCaption(parent::caption())
20 20
             ->setDescription(parent::description())
21 21
             ->setParameters(parent::parameters())
22
-            ->setExecute(function ($parameters) {
22
+            ->setExecute(function($parameters) {
23 23
                 return parent::execute($parameters);
24 24
             })
25
-            ->setFill(function ($parameters) {
25
+            ->setFill(function($parameters) {
26 26
                 return $parameters;
27 27
             });
28 28
     }
Please login to merge, or discard this patch.