@@ -10,7 +10,7 @@ |
||
10 | 10 | { |
11 | 11 | $className = $entity->getClassName(); |
12 | 12 | if (array_key_exists($className, $this->relations)) { |
13 | - $msg = $className.' already added'; |
|
13 | + $msg = $className . ' already added'; |
|
14 | 14 | throw new \InvalidArgumentException($msg); |
15 | 15 | } |
16 | 16 | $this->relations[$className] = $entity; |
@@ -95,7 +95,7 @@ |
||
95 | 95 | $thisMono = $this instanceof AssociationStubMonomorphic; |
96 | 96 | $thatMono = $otherStub instanceof AssociationStubMonomorphic; |
97 | 97 | |
98 | - $count = ($thisPoly ? 1 : 0) + ($thatPoly ? 1 : 0) + ($thisMono ? 1 : 0) + ($thatMono ? 1 : 0); |
|
98 | + $count = ($thisPoly ? 1 : 0)+($thatPoly ? 1 : 0)+($thisMono ? 1 : 0)+($thatMono ? 1 : 0); |
|
99 | 99 | assert(2 == $count); |
100 | 100 | |
101 | 101 | if ($thisPoly && $thatMono) { |