Completed
Push — 1.x ( 921c7b...6a61a7 )
by Alexander
03:07
created
src/Proxy/AbstractProxy.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
     protected function indent($text)
78 78
     {
79 79
         $pad   = str_pad('', $this->indent, ' ');
80
-        $lines = array_map(function ($line) use ($pad) {
80
+        $lines = array_map(function($line) use ($pad) {
81 81
             return $pad . $line;
82 82
         }, explode("\n", $text));
83 83
 
@@ -175,7 +175,7 @@  discard block
 block discarded – undo
175 175
      */
176 176
     protected function prepareArgsLine(ParsedMethod $method)
177 177
     {
178
-        $args = join(', ', array_map(function (ParsedParameter $param) {
178
+        $args = join(', ', array_map(function(ParsedParameter $param) {
179 179
             $byReference = $param->isPassedByReference() ? '&' : '';
180 180
 
181 181
             return $byReference . '$' . $param->name;
Please login to merge, or discard this patch.
src/Proxy/ClassProxy.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -471,11 +471,11 @@
 block discarded – undo
471 471
             ($prefix ? "$prefix " : '') . // List of class modifiers
472 472
             'class ' . // 'class' keyword with one space
473 473
             $this->name . // Name of the class
474
-            ' extends '. // 'extends' keyword with
474
+            ' extends ' . // 'extends' keyword with
475 475
             $this->parentClassName . // Name of the parent class
476 476
             ($this->interfaces ? ' implements ' . join(', ', $this->interfaces) : '') . "\n" . // Interfaces list
477 477
             "{\n" . // Start of class definition
478
-            ($this->traits ? $this->indent('use ' . join(', ', $this->traits) .';'."\n") : '') . "\n" . // Traits list
478
+            ($this->traits ? $this->indent('use ' . join(', ', $this->traits) . ';' . "\n") : '') . "\n" . // Traits list
479 479
             $this->indent(join("\n", $this->propertiesCode)) . "\n" . // Property definitions
480 480
             $this->indent(join("\n", $this->methodsCode)) . "\n" . // Method definitions
481 481
             "}" // End of class definition
Please login to merge, or discard this patch.
src/Proxy/TraitProxy.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -116,7 +116,7 @@
 block discarded – undo
116 116
                 'use ' . join(', ', array(-1 => $this->parentClassName) + $this->traits) .
117 117
                 $this->getMethodAliasesCode()
118 118
             ) . "\n" . // Use traits and aliases section
119
-            $this->indent(join("\n", $this->methodsCode)) . "\n". // Method definitions
119
+            $this->indent(join("\n", $this->methodsCode)) . "\n" . // Method definitions
120 120
             "}" // End of trait body
121 121
         );
122 122
 
Please login to merge, or discard this patch.