Passed
Push — 0.8.x ( 292ed1...b9fea5 )
by Alexander
07:26 queued 03:54
created
src/components/Translation/Loader/FileLoader.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
      * 
55 55
      * @return void
56 56
      */
57
-    public function __construct(Filesystem $files, array|string $path)
57
+    public function __construct(Filesystem $files, array | string $path)
58 58
     {
59 59
         $this->files = $files;
60 60
         $this->path  = is_string($path) ? [$path] : $path;
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
     protected function loadFilePaths($locale, $group): array
89 89
     {
90 90
         return collect($this->path)
91
-            ->reduce(function ($output, $path) use ($locale, $group) {
91
+            ->reduce(function($output, $path) use ($locale, $group) {
92 92
                 $slash = DIRECTORY_SEPARATOR;
93 93
         
94 94
                 if ($this->files->exists($fullPath = "{$path}$slash{$locale}$slash{$group}.php")) {
@@ -109,7 +109,7 @@  discard block
 block discarded – undo
109 109
     protected function loadJsonPaths($locale): array
110 110
     {
111 111
         return collect($this->path)
112
-            ->reduce(function ($output, $path) use ($locale) {
112
+            ->reduce(function($output, $path) use ($locale) {
113 113
                 $slash = DIRECTORY_SEPARATOR;
114 114
 
115 115
                 if ($this->files->exists($fullPath = "{$path}$slash{$locale}.json")) {
Please login to merge, or discard this patch.
src/components/Translation/Lang/en/time.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,7 @@
 block discarded – undo
2 2
 
3 3
 return [
4 4
 
5
-     /*
5
+        /*
6 6
     |------------------------------------------------------------------------
7 7
     | DateTime Language Lines                                                       
8 8
     |------------------------------------------------------------------------
Please login to merge, or discard this patch.
src/components/Translation/Lang/es/time.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,7 @@
 block discarded – undo
2 2
 
3 3
 return [
4 4
 
5
-     /*
5
+        /*
6 6
     |------------------------------------------------------------------------
7 7
     | Vista de Líneas De Fecha y Hora                                                         
8 8
     |------------------------------------------------------------------------
Please login to merge, or discard this patch.
src/components/Translation/Lang/pr/time.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,7 @@
 block discarded – undo
2 2
 
3 3
 return [
4 4
 
5
-     /*
5
+        /*
6 6
     |------------------------------------------------------------------------
7 7
     | DateTime Language Lines                                                       
8 8
     |------------------------------------------------------------------------
Please login to merge, or discard this patch.
src/components/Finder/Exceptions/AccessDeniedException.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
  * @license     https://opensource.org/licenses/BSD-3-Clause New BSD license or see https://lenevor.com/license or see /license.md
21 21
  */
22 22
 
23
- namespace Syscodes\Components\Finder\Exceptions;
23
+    namespace Syscodes\Components\Finder\Exceptions;
24 24
 
25 25
 use UnexpectedValueException;
26 26
 
Please login to merge, or discard this patch.
src/components/Finder/Finder.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -131,7 +131,7 @@  discard block
 block discarded – undo
131 131
      * 
132 132
      * @return static
133 133
      */
134
-    public function date(string|array $dates): static
134
+    public function date(string | array $dates): static
135 135
     {
136 136
         foreach ((array) $dates as $date) {
137 137
             $this->dates[] = new DateComparator($date);
@@ -147,7 +147,7 @@  discard block
 block discarded – undo
147 147
      * 
148 148
      * @return static
149 149
      */
150
-    public function path(string|array $patterns): static
150
+    public function path(string | array $patterns): static
151 151
     {
152 152
         $this->paths = array_merge($this->paths, (array) $patterns);
153 153
         
@@ -161,7 +161,7 @@  discard block
 block discarded – undo
161 161
      * 
162 162
      * @return static
163 163
      */
164
-    public function notPath(string|array $patterns): static
164
+    public function notPath(string | array $patterns): static
165 165
     {
166 166
         $this->notPaths = array_merge($this->notPaths, (array) $patterns);
167 167
         
@@ -195,7 +195,7 @@  discard block
 block discarded – undo
195 195
      * 
196 196
      * @throws DirectoryNotFoundException  if one of the directories does not exist
197 197
      */
198
-    public function in(string|array $dirs): static
198
+    public function in(string | array $dirs): static
199 199
     {
200 200
         $resolvedDirs = [];
201 201
         
Please login to merge, or discard this patch.