Skip to content
Permalink
Browse files

Include missing exception

The controllers loadComponent has an exception docblock, but the method which causes that does not. This pull request addresses that inconsistency.
  • Loading branch information...
davidyell committed May 21, 2018
1 parent 614f906 commit a4a8b5c222d11b70ac53ffab7f99c54f0a318050
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/Core/ObjectRegistry.php
@@ -70,6 +70,7 @@ abstract class ObjectRegistry implements Countable, IteratorAggregate
* @param string $objectName The name/class of the object to load.
* @param array $config Additional settings to use when loading the object.
* @return mixed
* @throws \Exception If the class cannot be found.
*/
public function load($objectName, $config = [])
{

0 comments on commit a4a8b5c

Please sign in to comment.
You can’t perform that action at this time.