Completed
Push — master ( 5e6300...bf0ac0 )
by Anton
05:37
created
source/Spiral/ODM/Entities/DocumentSelector.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -359,7 +359,7 @@
 block discarded – undo
359 359
      */
360 360
     protected function normalizeDates(array $query): array
361 361
     {
362
-        array_walk_recursive($query, function (&$value) {
362
+        array_walk_recursive($query, function(&$value) {
363 363
             if ($value instanceof \DateTime) {
364 364
                 //MongoDate is always UTC, which is good :)
365 365
                 $value = new UTCDateTime($value);
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/ClassDeclaration/PropertyDeclaration.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -107,7 +107,7 @@
 block discarded – undo
107 107
     {
108 108
         $result = '';
109 109
         if (!$this->docComment->isEmpty()) {
110
-            $result .= $this->docComment->render($indentLevel) . "\n";
110
+            $result .= $this->docComment->render($indentLevel)."\n";
111 111
         }
112 112
 
113 113
         $result .= $this->addIndent("{$this->access} \${$this->getName()}", $indentLevel);
Please login to merge, or discard this patch.
source/Spiral/Reactor/Prototypes/Declaration.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
      */
32 32
     protected function addIndent(string $string, int $indent = 0): string
33 33
     {
34
-        return str_repeat(self::INDENT, max($indent, 0)) . $string;
34
+        return str_repeat(self::INDENT, max($indent, 0)).$string;
35 35
     }
36 36
 
37 37
     /**
Please login to merge, or discard this patch.
source/Spiral/Storage/Servers/FtpServer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -261,7 +261,7 @@
 block discarded – undo
261 261
     protected function getPath(BucketInterface $bucket, string $name): string
262 262
     {
263 263
         return $this->files->normalizePath(
264
-            $this->options['home'] . '/' . $bucket->getOption('directory') . $name
264
+            $this->options['home'].'/'.$bucket->getOption('directory').$name
265 265
         );
266 266
     }
267 267
 
Please login to merge, or discard this patch.
source/Spiral/Storage/Servers/LocalServer.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -206,11 +206,11 @@
 block discarded – undo
206 206
     protected function getPath(BucketInterface $bucket, string $name): string
207 207
     {
208 208
         if (empty($this->options['home'])) {
209
-            return $this->files->normalizePath($bucket->getOption('directory') . $name);
209
+            return $this->files->normalizePath($bucket->getOption('directory').$name);
210 210
         }
211 211
 
212 212
         return $this->files->normalizePath(
213
-            $this->options['home'] . '/' . $bucket->getOption('directory') . $name
213
+            $this->options['home'].'/'.$bucket->getOption('directory').$name
214 214
         );
215 215
     }
216 216
 }
217 217
\ No newline at end of file
Please login to merge, or discard this patch.
source/Spiral/Storage/Entities/StorageBucket.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -131,7 +131,7 @@
 block discarded – undo
131 131
      */
132 132
     public function buildAddress(string $name): string
133 133
     {
134
-        return $this->prefix . $name;
134
+        return $this->prefix.$name;
135 135
     }
136 136
 
137 137
     /**
Please login to merge, or discard this patch.
source/Spiral/Core/Exceptions/Container/ArgumentException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
 
41 41
         $name = $context->getName();
42 42
         if ($context instanceof \ReflectionMethod) {
43
-            $name = $context->class . '::' . $name;
43
+            $name = $context->class.'::'.$name;
44 44
         }
45 45
 
46 46
         parent::__construct("Unable to resolve '{$parameter->name}' argument in '{$name}'");
Please login to merge, or discard this patch.
source/Spiral/Files/FileManager.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -392,7 +392,7 @@  discard block
 block discarded – undo
392 392
         $path = str_replace(['//', '\\'], '/', $path);
393 393
 
394 394
         //Potentially open links and ../ type directories?
395
-        return rtrim($path, '/') . ($asDirectory ? '/' : '');
395
+        return rtrim($path, '/').($asDirectory ? '/' : '');
396 396
     }
397 397
 
398 398
     /**
@@ -423,7 +423,7 @@  discard block
 block discarded – undo
423 423
                     $relative = array_pad($relative, $padLength, '..');
424 424
                     break;
425 425
                 } else {
426
-                    $relative[0] = './' . $relative[0];
426
+                    $relative[0] = './'.$relative[0];
427 427
                 }
428 428
             }
429 429
         }
Please login to merge, or discard this patch.