Passed
Pull Request — master (#57)
by Andrey
08:41 queued 06:06
created
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/Processing/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.