@@ -122,8 +122,8 @@ discard block |
||
| 122 | 122 | */ |
| 123 | 123 | protected function isNotEagerLoaded($relation) |
| 124 | 124 | { |
| 125 | - return ! $relation |
|
| 126 | - || ! array_key_exists($relation, $this->query->getEagerLoads()) |
|
| 125 | + return !$relation |
|
| 126 | + || !array_key_exists($relation, $this->query->getEagerLoads()) |
|
| 127 | 127 | || $relation === $this->query->getModel()->getTable(); |
| 128 | 128 | } |
| 129 | 129 | |
@@ -196,7 +196,7 @@ discard block |
||
| 196 | 196 | $joins[] = $join->table; |
| 197 | 197 | } |
| 198 | 198 | |
| 199 | - if (! in_array($table, $joins)) { |
|
| 199 | + if (!in_array($table, $joins)) { |
|
| 200 | 200 | $this->getBaseQueryBuilder()->join($table, $foreign, '=', $other, $type); |
| 201 | 201 | } |
| 202 | 202 | } |