Skip to content
This repository has been archived by the owner on Jan 29, 2020. It is now read-only.

Commit

Permalink
Merge branch 'master' into feature/view-layer
Browse files Browse the repository at this point in the history
  • Loading branch information
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Definition/RuntimeDefinition.php
Expand Up @@ -94,7 +94,7 @@ public function hasClass($class)
return (array_key_exists($class, $this->classes));
}

return class_exists($class, true);
return class_exists($class) || interface_exists($class);
}

/**
Expand Down

0 comments on commit c958861

Please sign in to comment.