Completed
Push — master ( ceee37...536973 )
by Enea
02:33
created
src/Queryable.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
 
49 49
         foreach (class_uses_recursive($class) as $trait) {
50 50
             $method = $buildFunctionName(class_basename($trait));
51
-            if (method_exists($class, $method) && ! in_array($method, $booted)) {
51
+            if (method_exists($class, $method) && !in_array($method, $booted)) {
52 52
                 $booted[] = $method;
53 53
             }
54 54
         }
Please login to merge, or discard this patch.
src/SoftDeletes.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
 
34 34
     protected function getSoftDeletesDefaultBindings(): array
35 35
     {
36
-        if (! $this->isTrashFilterActivated()) {
36
+        if (!$this->isTrashFilterActivated()) {
37 37
             return [];
38 38
         }
39 39
 
Please login to merge, or discard this patch.
src/Indexable.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
     public function getConstraint(string $key, string $q): Constraint
16 16
     {
17 17
         $constraints = $this->getAvailableConstraints()->all();
18
-        if (! Arr::has($constraints, $key)) {
18
+        if (!Arr::has($constraints, $key)) {
19 19
             throw new InvalidArgumentException("The requested index was not found: {$key}");
20 20
         }
21 21
 
Please login to merge, or discard this patch.
src/Query.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
     {
39 39
         $builder = $closure($this->builder);
40 40
 
41
-        if (! $builder instanceof Builder) {
41
+        if (!$builder instanceof Builder) {
42 42
             throw new UnexpectedValueException("Attachment must be an instance of " . Builder::class);
43 43
         }
44 44
 
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
     private function dumpBindingsTo(Builder &$builder, array $bindings): void
49 49
     {
50 50
         foreach ($bindings as $binding) {
51
-            if (! $binding instanceof Binding) {
51
+            if (!$binding instanceof Binding) {
52 52
                 throw new UnexpectedValueException("Bindings must be an instance of " . Binding::class);
53 53
             }
54 54
 
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
 
59 59
     private function setBindingTo(Binding $binding, Builder $builder): void
60 60
     {
61
-        if (! $binding->isNamed()) {
61
+        if (!$binding->isNamed()) {
62 62
             $this->applyConstraints($builder, $binding->getConstraints());
63 63
         } else {
64 64
             $builder->withGlobalScope($binding->getName(), fn(Builder $eloquent
Please login to merge, or discard this patch.