Completed
Push — master ( 1f06a4...f2af88 )
by Nikolas
04:02
created
src/reflection/GenericObjectAction.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@
 block discarded – undo
47 47
      */
48 48
     public function setAfterExecute(callable $callback) {
49 49
         $oldExecute = $this->execute;
50
-        $this->execute = function ($object) use ($oldExecute, $callback) {
50
+        $this->execute = function($object) use ($oldExecute, $callback) {
51 51
             return $callback(call_user_func($oldExecute, $object));
52 52
         };
53 53
     }
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.