Skip to content

Commit

Permalink
Update DepthOfInheritance.php
Browse files Browse the repository at this point in the history
  • Loading branch information
sebbrandt87 committed Jul 24, 2014
1 parent fb5dcba commit e59053c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/php/PHPMD/Rule/Design/DepthOfInheritance.php
Expand Up @@ -70,7 +70,7 @@ public function apply(AbstractNode $node)
try {
$threshold = $this->getIntProperty('maximum');
$comparision = 1;
} catch (OutOfBoundsException $e) {
} catch (\OutOfBoundsException $e) {
$threshold = $this->getIntProperty('minimum');
$comparision = 2;
}
Expand Down

0 comments on commit e59053c

Please sign in to comment.