Completed
Push — master ( e3df42...7db57b )
by Nikolas
03:09
created
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/GenericMethodAction.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
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
      */
51 51
     public function setAfterExecute(callable $callback) {
52 52
         $oldExecute = $this->execute;
53
-        $this->execute = function ($object) use ($oldExecute, $callback) {
53
+        $this->execute = function($object) use ($oldExecute, $callback) {
54 54
             return $callback(call_user_func($oldExecute, $object));
55 55
         };
56 56
     }
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
      * @throws \Exception
71 71
      */
72 72
     public function parameters() {
73
-        return array_map(function (Parameter $parameter) {
73
+        return array_map(function(Parameter $parameter) {
74 74
             if (array_key_exists($parameter->getName(), $this->paramMap)) {
75 75
                 return call_user_func($this->paramMap[$parameter->getName()], $parameter);
76 76
             }
Please login to merge, or discard this patch.