@@ -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 | |
@@ -209,7 +209,7 @@ discard block |
||
| 209 | 209 | $joins[] = $join->table; |
| 210 | 210 | } |
| 211 | 211 | |
| 212 | - if (! in_array($table, $joins)) { |
|
| 212 | + if (!in_array($table, $joins)) { |
|
| 213 | 213 | $this->getBaseQueryBuilder()->join($table, $foreign, '=', $other, $type); |
| 214 | 214 | } |
| 215 | 215 | |