Completed
Push — staging ( 83f973...0db769 )
by Matthew
02:32
created
src/Repository/AbstractEndpointRepository.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
         $key = $this->returnKeyType($keyType);
90 90
 
91 91
         $query->cols(['*'])
92
-              ->where("`{$key}` = '{$id}'");
92
+                ->where("`{$key}` = '{$id}'");
93 93
 
94 94
         return $this->fireStatementAndReturn($query, true);
95 95
     }
@@ -107,7 +107,7 @@  discard block
 block discarded – undo
107 107
         $key = $this->returnKeyType($keyType);
108 108
 
109 109
         $query->cols(['*'])
110
-              ->where("`{$key}` = '{$id}'");
110
+                ->where("`{$key}` = '{$id}'");
111 111
 
112 112
         return $this->fireStatementAndReturn($query);
113 113
     }
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -126,7 +126,7 @@  discard block
 block discarded – undo
126 126
 
127 127
         $query->cols(['*']);
128 128
 
129
-        foreach($fields as $field => $value) {
129
+        foreach ($fields as $field => $value) {
130 130
             $query->where("`{$field}` = '{$value}'");
131 131
         }
132 132
 
@@ -148,7 +148,7 @@  discard block
 block discarded – undo
148 148
 
149 149
         $query->cols(["COUNT({$key}) as COUNT"]);
150 150
 
151
-        foreach($fields as $field => $value) {
151
+        foreach ($fields as $field => $value) {
152 152
             $query->where("`{$field}` = '{$value}'");
153 153
         }
154 154
 
Please login to merge, or discard this patch.