@@ -137,7 +137,7 @@ discard block |
||
137 | 137 | public function hasRelated(string $relation): bool |
138 | 138 | { |
139 | 139 | //Checking with only loaded records |
140 | - return $this->get($relation)->hasRelated() ; |
|
140 | + return $this->get($relation)->hasRelated(); |
|
141 | 141 | } |
142 | 142 | |
143 | 143 | /** |
@@ -209,7 +209,7 @@ discard block |
||
209 | 209 | $class = (new \ReflectionClass($accessor->getClass()))->getShortName(); |
210 | 210 | |
211 | 211 | //[+] for loaded, [~] for lazy loaded |
212 | - $relations[$relation] = $type . '(' . $class . ') [' . ($accessor->isLoaded() ? '+]' : '~]'); |
|
212 | + $relations[$relation] = $type.'('.$class.') ['.($accessor->isLoaded() ? '+]' : '~]'); |
|
213 | 213 | } |
214 | 214 | |
215 | 215 | return $relations; |