Skip to content

Commit

Permalink
IContaner: added @throws [Closes #6]
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed Feb 11, 2019
1 parent 4d34c3d commit 2cc11b1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ComponentModel/IContainer.php
Expand Up @@ -28,6 +28,7 @@ function removeComponent(IComponent $component): void;


/** /**
* Returns component specified by name or path. * Returns component specified by name or path.
* @throws Nette\InvalidArgumentException if component doesn't exist
*/ */
function getComponent(string $name): ?IComponent; function getComponent(string $name): ?IComponent;


Expand Down

0 comments on commit 2cc11b1

Please sign in to comment.