Passed
Push — 0.8.x ( 68625b...156d51 )
by Alexander
06:01 queued 03:01
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/Finder.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -124,7 +124,7 @@  discard block
 block discarded – undo
124 124
      * 
125 125
      * @return static
126 126
      */
127
-    public function date(string|array $dates): static
127
+    public function date(string | array $dates): static
128 128
     {
129 129
         foreach ((array) $dates as $date) {
130 130
             $this->dates[] = new DateComparator($date);
@@ -140,7 +140,7 @@  discard block
 block discarded – undo
140 140
      * 
141 141
      * @return static
142 142
      */
143
-    public function path(string|array $patterns): static
143
+    public function path(string | array $patterns): static
144 144
     {
145 145
         $this->paths = array_merge($this->paths, (array) $patterns);
146 146
         
@@ -174,7 +174,7 @@  discard block
 block discarded – undo
174 174
      * 
175 175
      * @throws DirectoryNotFoundException  if one of the directories does not exist
176 176
      */
177
-    public function in(string|array $dirs): static
177
+    public function in(string | array $dirs): static
178 178
     {
179 179
         $resolvedDirs = [];
180 180
         
Please login to merge, or discard this patch.