Passed
Push — master ( b392d9...8f500b )
by Andrey
06:16
created
src/Support/File.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@
 block discarded – undo
67 67
      */
68 68
     public function directoryExists(string $path, string $locale): void
69 69
     {
70
-        if (! $path || ! $this->exists($path)) {
70
+        if ( ! $path || ! $this->exists($path)) {
71 71
             throw new SourceLocaleNotExists($locale);
72 72
         }
73 73
     }
Please login to merge, or discard this patch.
src/Support/Locale.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
     protected function normalizeNames(array $directories): array
49 49
     {
50
-        return array_map(function ($dir) {
50
+        return array_map(function($dir) {
51 51
             return File::name($dir);
52 52
         }, $directories);
53 53
     }
Please login to merge, or discard this patch.
src/Services/Localization.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
62 62
      */
63 63
     protected function makeProcess(string $classname): Process
64 64
     {
65
-        if (! is_subclass_of($classname, Process::class)) {
65
+        if ( ! is_subclass_of($classname, Process::class)) {
66 66
             throw new NoProcessInstanceException($classname);
67 67
         }
68 68
 
Please login to merge, or discard this patch.
src/Support/Result.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
         $item = Arr::first($this->items);
58 58
         $keys = Arr::keys($item);
59 59
 
60
-        return Arr::transform($keys, function ($value) {
60
+        return Arr::transform($keys, function($value) {
61 61
             return Str::title($value);
62 62
         });
63 63
     }
Please login to merge, or discard this patch.