Completed
Push — master ( 3279ce...3c79e2 )
by Christopher
06:53
created
src/Models/MetadataTrait.php 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -229,16 +229,16 @@
 block discarded – undo
229 229
                     $begin = strpos($code, 'function(');
230 230
                     $code = substr($code, $begin, strrpos($code, '}') - $begin + 1);
231 231
                     foreach (array(
232
-                               'hasMany',
233
-                               'hasManyThrough',
234
-                               'belongsToMany',
235
-                               'hasOne',
236
-                               'belongsTo',
237
-                               'morphOne',
238
-                               'morphTo',
239
-                               'morphMany',
240
-                               'morphToMany'
241
-                             ) as $relation) {
232
+                                'hasMany',
233
+                                'hasManyThrough',
234
+                                'belongsToMany',
235
+                                'hasOne',
236
+                                'belongsTo',
237
+                                'morphOne',
238
+                                'morphTo',
239
+                                'morphMany',
240
+                                'morphToMany'
241
+                                ) as $relation) {
242 242
                         $search = '$this->' . $relation . '(';
243 243
                         if ($pos = stripos($code, $search)) {
244 244
                             //Resolve the relation's model to a Relation object.
Please login to merge, or discard this patch.
src/Query/LaravelExpressionProvider.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -310,7 +310,7 @@
 block discarded – undo
310 310
         return $nuSql;
311 311
     }
312 312
 
313
-   private function replace($sql, $bindings)
313
+    private function replace($sql, $bindings)
314 314
     {
315 315
         $needle = '?';
316 316
         foreach ($bindings as $replace) {
Please login to merge, or discard this patch.