Skip to content

Commit 2bfb38b

Browse files
committed
PresenterComponent::checkRequirements() is called with native PHP reflection classes instead of Nette\Reflection\* (BC break!)
1 parent 991514f commit 2bfb38b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Application/UI/Presenter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ public function run(Application\Request $request)
176176
}
177177

178178
$this->initGlobalParameters();
179-
$this->checkRequirements($this->getReflection());
179+
$this->checkRequirements(new \ReflectionClass($this));
180180
$this->startup();
181181
if (!$this->startupCheck) {
182182
$class = $this->getReflection()->getMethod('startup')->getDeclaringClass()->getName();

0 commit comments

Comments
 (0)