Completed
Branch feature/pre-split (8b986a)
by Anton
06:31
created
source/Spiral/ORM/Entities/RelationMap.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -137,7 +137,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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;
Please login to merge, or discard this patch.