Completed
Push — fix/queing-aggregators ( 045327...615861 )
by Nuno
57:33 queued 52:55
created
src/Engines/AlgoliaEngine.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -108,7 +108,7 @@
 block discarded – undo
108 108
     {
109 109
         $operators = ['<', '<=', '=', '!=', '>=', '>', ':'];
110 110
 
111
-        return collect($builder->wheres)->map(function ($value, $key) use ($operators) {
111
+        return collect($builder->wheres)->map(function($value, $key) use ($operators) {
112 112
             if (ends_with($key, $operators) || starts_with($value, $operators)) {
113 113
                 return $key.' '.$value;
114 114
             }
Please login to merge, or discard this patch.
src/Jobs/UpdateJob.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
                 continue;
107 107
             }
108 108
 
109
-            if (! $this->hasToSearchableArray($searchable)) {
109
+            if ( ! $this->hasToSearchableArray($searchable)) {
110 110
                 $array = $searchable->getModel()->transform($array);
111 111
             }
112 112
 
@@ -145,7 +145,7 @@  discard block
 block discarded – undo
145 145
     {
146 146
         $class = get_class($searchable->getModel());
147 147
 
148
-        if (! array_key_exists($class, $this->splittables)) {
148
+        if ( ! array_key_exists($class, $this->splittables)) {
149 149
             $this->splittables[$class] = false;
150 150
 
151 151
             foreach ($searchable->toSearchableArray() as $key => $value) {
@@ -202,7 +202,7 @@  discard block
 block discarded – undo
202 202
             $objects = $temp;
203 203
         }
204 204
 
205
-        return array_map(function ($object) use ($array) {
205
+        return array_map(function($object) use ($array) {
206 206
             return array_merge($array, $object);
207 207
         }, $objects);
208 208
     }
@@ -228,7 +228,7 @@  discard block
 block discarded – undo
228 228
     {
229 229
         $searchableClass = get_class($searchable);
230 230
 
231
-        if (! array_key_exists($searchableClass, $this->searchablesWithToSearchableArray)) {
231
+        if ( ! array_key_exists($searchableClass, $this->searchablesWithToSearchableArray)) {
232 232
             $reflectionClass = new ReflectionClass(get_class($searchable));
233 233
 
234 234
             $this->searchablesWithToSearchableArray[$searchableClass] =
Please login to merge, or discard this patch.