Skip to content

Commit

Permalink
Fixed indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
lolautruche committed Aug 26, 2016
1 parent 988c895 commit 65ac388
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Core/ReferenceResolver/CustomReferenceResolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@ public function getReferenceValue($identifier)
*/
public function addReference($identifier, $value)
{
if (array_key_exists($identifier, $this->references)) {
throw new \Exception("A reference with identifier '$identifier' already exists");
}
if (array_key_exists($identifier, $this->references)) {
throw new \Exception("A reference with identifier '$identifier' already exists");
}

$this->references[$identifier] = $value;
$this->references[$identifier] = $value;
}
}

0 comments on commit 65ac388

Please sign in to comment.