Skip to content

Commit d85ab53

Browse files
Cikidg
authored andcommitted
typo
1 parent fbe9c50 commit d85ab53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Application/UI/Component.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ protected function createComponent(string $name): ?Nette\ComponentModel\ICompone
7878
$res = parent::createComponent($name);
7979
if (!$res instanceof SignalReceiver && !$res instanceof StatePersistent) {
8080
$type = get_class($res);
81-
trigger_error("It seems that component '$name' of type $type is not intended to for in the Presenter.", E_USER_NOTICE);
81+
trigger_error("It seems that component '$name' of type $type is not intended to be used in the Presenter.", E_USER_NOTICE);
8282
}
8383
return $res;
8484
}

0 commit comments

Comments
 (0)