We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b943279 commit 1f42133Copy full SHA for 1f42133
src/Application/UI/Component.php
@@ -74,7 +74,9 @@ public function getUniqueId(): string
74
protected function createComponent(string $name): ?Nette\ComponentModel\IComponent
75
{
76
if (method_exists($this, $method = 'createComponent' . $name)) {
77
- static::getReflection()->checkRequirements(new \ReflectionMethod($this, $method), $this->getPresenterIfExists());
+ $rm = new \ReflectionMethod($this, $method);
78
+ static::getReflection()->checkRequirements($rm, $this->getPresenterIfExists());
79
+ $this->checkRequirements($rm);
80
}
81
$res = parent::createComponent($name);
82
if ($res && !$res instanceof SignalReceiver && !$res instanceof StatePersistent) {
0 commit comments