Permalink
Browse files

IContaner: added @throws [Closes #6]

  • Loading branch information...
dg committed Feb 11, 2019
1 parent 4d34c3d commit 2cc11b16f005fb0dba44b92891e4f7daad098de7
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/ComponentModel/IContainer.php
@@ -28,6 +28,7 @@ function removeComponent(IComponent $component): void;
/**
* Returns component specified by name or path.
* @throws Nette\InvalidArgumentException if component doesn't exist
*/
function getComponent(string $name): ?IComponent;

0 comments on commit 2cc11b1

Please sign in to comment.