@@ -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) { |
@@ -62,7 +62,7 @@ |
||
62 | 62 | return -1 === $first->compare($last); |
63 | 63 | //if (-1 !== $first->compare($last)) { |
64 | 64 | // return false; |
65 | - // } |
|
65 | + // } |
|
66 | 66 | //return true; |
67 | 67 | } |
68 | 68 | } |