@@ -82,8 +82,9 @@ |
||
| 82 | 82 | public function getIdentifier($object) |
| 83 | 83 | { |
| 84 | 84 | foreach ($this->getCollectionFor($object) as $identifier => $element) { |
| 85 | - if ($element === $object) |
|
| 86 | - return $identifier; |
|
| 85 | + if ($element === $object) { |
|
| 86 | + return $identifier; |
|
| 87 | + } |
|
| 87 | 88 | } |
| 88 | 89 | |
| 89 | 90 | throw new \RuntimeException(sprintf( |
@@ -23,7 +23,7 @@ |
||
| 23 | 23 | { |
| 24 | 24 | throw new self(sprintf( |
| 25 | 25 | 'Comparison "%s" is not supported.', |
| 26 | - $comparison |
|
| 26 | + $comparison |
|
| 27 | 27 | )); |
| 28 | 28 | } |
| 29 | 29 | } |