Passed
Push — master ( 0c3b18...0300eb )
by Andrey
02:51 queued 11s
created
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.
src/Support/File.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -71,14 +71,14 @@
 block discarded – undo
71 71
 
72 72
     public function directoryExist(string $path, string $locale): void
73 73
     {
74
-        if (! $path || ! $this->exists($path)) {
74
+        if ( ! $path || ! $this->exists($path)) {
75 75
             throw new SourceLocaleDirectoryDoesntExist($locale);
76 76
         }
77 77
     }
78 78
 
79 79
     public function fileExist(string $path, string $locale): void
80 80
     {
81
-        if (! $path || ! $this->exists($path)) {
81
+        if ( ! $path || ! $this->exists($path)) {
82 82
             throw new SourceLocaleFileDoesntExist($locale);
83 83
         }
84 84
     }
Please login to merge, or discard this patch.
src/Services/Processors/PublishJson.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -112,7 +112,7 @@
 block discarded – undo
112 112
     {
113 113
         $keys = Config::getExclude($key, [], true);
114 114
 
115
-        return array_filter($array, static function ($value) use ($keys) {
115
+        return array_filter($array, static function($value) use ($keys) {
116 116
             return in_array($value, $keys);
117 117
         }, ARRAY_FILTER_USE_KEY);
118 118
     }
Please login to merge, or discard this patch.
src/Traits/Containable.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
10 10
 
11 11
     protected function container(string $class, array $parameters = [])
12 12
     {
13
-        if (! isset(static::$containers[$class])) {
13
+        if ( ! isset(static::$containers[$class])) {
14 14
             static::$containers[$class] = Container::getInstance()->make($class, $parameters);
15 15
         }
16 16
 
Please login to merge, or discard this patch.
src/Services/Processors/DeleteJson.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
 
14 14
     protected function delete(): bool
15 15
     {
16
-        if (! IlluminateFile::exists($this->targetPath())) {
16
+        if ( ! IlluminateFile::exists($this->targetPath())) {
17 17
             return true;
18 18
         }
19 19
 
Please login to merge, or discard this patch.
src/Support/Locale.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
         $locales   = $this->get($this->getInstalledDirectories($is_json));
29 29
         $available = $this->available();
30 30
 
31
-        return array_filter($locales, function ($locale) use ($available) {
31
+        return array_filter($locales, function($locale) use ($available) {
32 32
             return in_array($locale, $available);
33 33
         });
34 34
     }
@@ -131,7 +131,7 @@  discard block
 block discarded – undo
131 131
 
132 132
     protected function normalizeNames(array $directories): array
133 133
     {
134
-        return array_map(function ($dir) {
134
+        return array_map(function($dir) {
135 135
             return File::name($dir);
136 136
         }, $directories);
137 137
     }
Please login to merge, or discard this patch.