@@ -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( |