Completed
Branch feature/pre-split (c871cb)
by Anton
03:37
created
source/Spiral/ORM/Entities/Relations/BelongsToRelation.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@
 block discarded – undo
82 82
                 );
83 83
             } else {
84 84
                 //Syncing using promise
85
-                $related->onExecute(function (ContextualCommandInterface $related) use ($command) {
85
+                $related->onExecute(function(ContextualCommandInterface $related) use ($command) {
86 86
                     //Giving our child our context in a form of FK value
87 87
                     $command->addContext($this->key(Record::INNER_KEY), $related->primaryKey());
88 88
                 });
Please login to merge, or discard this patch.