Completed
Push — master ( 04ec92...1a0fab )
by Anton
02:11
created
source/Spiral/Reactor/FileDeclaration.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -111,7 +111,7 @@  discard block
 block discarded – undo
111 111
         $result = "<?php\n";
112 112
 
113 113
         if (!$this->docComment->isEmpty()) {
114
-            $result .= $this->docComment->render($indentLevel) . "\n";
114
+            $result .= $this->docComment->render($indentLevel)."\n";
115 115
         }
116 116
 
117 117
         if (!empty($this->namespace)) {
@@ -119,7 +119,7 @@  discard block
 block discarded – undo
119 119
         }
120 120
 
121 121
         if (!empty($this->uses)) {
122
-            $result .= $this->renderUses($indentLevel) . "\n\n";
122
+            $result .= $this->renderUses($indentLevel)."\n\n";
123 123
         }
124 124
 
125 125
         $result .= $this->elements->render($indentLevel);
Please login to merge, or discard this patch.
source/Spiral/Reactor/DeclarationAggregator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -211,7 +211,7 @@
 block discarded – undo
211 211
         $result = '';
212 212
 
213 213
         foreach ($this->elements as $element) {
214
-            $result .= $element->render($indentLevel) . "\n\n";
214
+            $result .= $element->render($indentLevel)."\n\n";
215 215
         }
216 216
 
217 217
         return rtrim($result, "\n");
Please login to merge, or discard this patch.
source/Spiral/Reactor/Body/Source.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
     public function render(int $indentLevel = 0): string
117 117
     {
118 118
         $lines = $this->lines;
119
-        array_walk($lines, function (&$line) use ($indentLevel) {
119
+        array_walk($lines, function(&$line) use ($indentLevel) {
120 120
             $line = $this->addIndent($line, $indentLevel);
121 121
         });
122 122
 
Please login to merge, or discard this patch.
source/Spiral/Reactor/Body/DocComment.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
     {
25 25
         $lines = $this->getLines();
26 26
 
27
-        array_walk($lines, function (&$line) use ($search, $replace) {
27
+        array_walk($lines, function(&$line) use ($search, $replace) {
28 28
             $line = str_replace($search, $replace, $line);
29 29
         });
30 30
 
Please login to merge, or discard this patch.
source/functions.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
             $value = '';
39 39
         }
40 40
 
41
-        $replaces[$prefix . $key . $postfix] = $value;
41
+        $replaces[$prefix.$key.$postfix] = $value;
42 42
     }
43 43
 
44 44
     return strtr($string, $replaces);
Please login to merge, or discard this patch.