Skip to content

Commit

Permalink
Include missing exception
Browse files Browse the repository at this point in the history
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 a4a8b5c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Core/ObjectRegistry.php
Expand Up @@ -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 = [])
{
Expand Down

0 comments on commit a4a8b5c

Please sign in to comment.