Passed
Pull Request — master (#13)
by Maksim
05:34 queued 02:42
created
src/Eloquent/Relationships/CompositeBelongsToMany.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
     protected function parseIds($value)
23 23
     {
24 24
         if ($value instanceof Model) {
25
-            return [$this->executeWithinOptionalBinaryTransformation(function () use ($value) {
25
+            return [$this->executeWithinOptionalBinaryTransformation(function() use ($value) {
26 26
                 return $value->{$this->relatedKey};
27 27
             }, $value)];
28 28
         }
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
      */
48 48
     protected function parseId($value)
49 49
     {
50
-        return $value instanceof Model ? $this->executeWithinOptionalBinaryTransformation(function () use ($value) {
50
+        return $value instanceof Model ? $this->executeWithinOptionalBinaryTransformation(function() use ($value) {
51 51
             $value->{$this->relatedKey};
52 52
         }, $value) : $value;
53 53
     }
Please login to merge, or discard this patch.