@@ -477,8 +477,8 @@ |
||
477 | 477 | public function getListTablesSQL() |
478 | 478 | { |
479 | 479 | return "SELECT name FROM sqlite_master WHERE type = 'table' AND name != 'sqlite_sequence' AND name != 'geometry_columns' AND name != 'spatial_ref_sys' " |
480 | - . "UNION ALL SELECT name FROM sqlite_temp_master " |
|
481 | - . "WHERE type = 'table' ORDER BY name"; |
|
480 | + . "UNION ALL SELECT name FROM sqlite_temp_master " |
|
481 | + . "WHERE type = 'table' ORDER BY name"; |
|
482 | 482 | } |
483 | 483 | |
484 | 484 | /** |
@@ -323,7 +323,7 @@ discard block |
||
323 | 323 | // of the database result set. Each element in the array will be a single |
324 | 324 | // row from the database table, and will either be an array or objects. |
325 | 325 | $statement = $this->prepared($this->getPdoForSelect($useReadPdo) |
326 | - ->prepare($query)); |
|
326 | + ->prepare($query)); |
|
327 | 327 | |
328 | 328 | $this->bindValues($statement, $this->prepareBindings($bindings)); |
329 | 329 | |
@@ -352,7 +352,7 @@ discard block |
||
352 | 352 | // mode and prepare the bindings for the query. Once that's done we will be |
353 | 353 | // ready to execute the query against the database and return the cursor. |
354 | 354 | $statement = $this->prepared($this->getPdoForSelect($useReadPdo) |
355 | - ->prepare($query)); |
|
355 | + ->prepare($query)); |
|
356 | 356 | |
357 | 357 | $this->bindValues( |
358 | 358 | $statement, $this->prepareBindings($bindings) |
@@ -64,8 +64,8 @@ |
||
64 | 64 | $query = $this->table()->where('batch', '>=', '1'); |
65 | 65 | |
66 | 66 | return $query->orderBy('batch', 'desc') |
67 | - ->orderBy('migration', 'desc') |
|
68 | - ->take($steps)->get()->all(); |
|
67 | + ->orderBy('migration', 'desc') |
|
68 | + ->take($steps)->get()->all(); |
|
69 | 69 | } |
70 | 70 | |
71 | 71 | /** |
@@ -403,7 +403,7 @@ discard block |
||
403 | 403 | * @return \Illuminate\Database\Eloquent\Relations\BelongsToMany |
404 | 404 | */ |
405 | 405 | public function belongsToMany($related, $table = null, $foreignPivotKey = null, $relatedPivotKey = null, |
406 | - $parentKey = null, $relatedKey = null, $relation = null) |
|
406 | + $parentKey = null, $relatedKey = null, $relation = null) |
|
407 | 407 | { |
408 | 408 | // If no relationship name was passed, we will pull backtraces to get the |
409 | 409 | // name of the calling function. We will use that function name as the |
@@ -510,8 +510,8 @@ discard block |
||
510 | 510 | * @return \Illuminate\Database\Eloquent\Relations\MorphToMany |
511 | 511 | */ |
512 | 512 | protected function newMorphToMany(Builder $query, Model $parent, $name, $table, $foreignPivotKey, |
513 | - $relatedPivotKey, $parentKey, $relatedKey, |
|
514 | - $relationName = null, $inverse = false) |
|
513 | + $relatedPivotKey, $parentKey, $relatedKey, |
|
514 | + $relationName = null, $inverse = false) |
|
515 | 515 | { |
516 | 516 | return new MorphToMany($query, $parent, $name, $table, $foreignPivotKey, $relatedPivotKey, $parentKey, $relatedKey, |
517 | 517 | $relationName, $inverse); |
@@ -530,7 +530,7 @@ discard block |
||
530 | 530 | * @return \Illuminate\Database\Eloquent\Relations\MorphToMany |
531 | 531 | */ |
532 | 532 | public function morphedByMany($related, $name, $table = null, $foreignPivotKey = null, |
533 | - $relatedPivotKey = null, $parentKey = null, $relatedKey = null) |
|
533 | + $relatedPivotKey = null, $parentKey = null, $relatedKey = null) |
|
534 | 534 | { |
535 | 535 | $foreignPivotKey = $foreignPivotKey ?: $this->getForeignKey(); |
536 | 536 |
@@ -1092,10 +1092,10 @@ |
||
1092 | 1092 | return false; |
1093 | 1093 | } elseif ($this->isDateAttribute($key)) { |
1094 | 1094 | return $this->fromDateTime($current) === |
1095 | - $this->fromDateTime($original); |
|
1095 | + $this->fromDateTime($original); |
|
1096 | 1096 | } elseif ($this->hasCast($key)) { |
1097 | 1097 | return $this->castAttribute($key, $current) === |
1098 | - $this->castAttribute($key, $original); |
|
1098 | + $this->castAttribute($key, $original); |
|
1099 | 1099 | } |
1100 | 1100 | |
1101 | 1101 | return is_numeric($current) && is_numeric($original) |
@@ -140,8 +140,8 @@ |
||
140 | 140 | |
141 | 141 | $query->orWhere(function ($query) use ($segments) { |
142 | 142 | return $query->where($segments[0], $segments[1]) |
143 | - ->where($segments[2], $segments[3]) |
|
144 | - ->where($segments[4], $segments[5]); |
|
143 | + ->where($segments[2], $segments[3]) |
|
144 | + ->where($segments[4], $segments[5]); |
|
145 | 145 | }); |
146 | 146 | } |
147 | 147 |
@@ -140,8 +140,8 @@ |
||
140 | 140 | : MorphPivot::fromAttributes($this->parent, $attributes, $this->table, $exists); |
141 | 141 | |
142 | 142 | $pivot->setPivotKeys($this->foreignPivotKey, $this->relatedPivotKey) |
143 | - ->setMorphType($this->morphType) |
|
144 | - ->setMorphClass($this->morphClass); |
|
143 | + ->setMorphType($this->morphType) |
|
144 | + ->setMorphClass($this->morphClass); |
|
145 | 145 | |
146 | 146 | return $pivot; |
147 | 147 | } |
@@ -293,7 +293,7 @@ |
||
293 | 293 | |
294 | 294 | $query->orWhere(function ($query) use ($segments) { |
295 | 295 | return $query->where($segments[0], $segments[1]) |
296 | - ->where($segments[2], $segments[3]); |
|
296 | + ->where($segments[2], $segments[3]); |
|
297 | 297 | }); |
298 | 298 | } |
299 | 299 |
@@ -69,6 +69,6 @@ |
||
69 | 69 | } |
70 | 70 | |
71 | 71 | return $this->files->lastModified($path) >= |
72 | - $this->files->lastModified($compiled); |
|
72 | + $this->files->lastModified($compiled); |
|
73 | 73 | } |
74 | 74 | } |