Skip to content
This repository has been archived by the owner on Sep 19, 2022. It is now read-only.

Commit

Permalink
Fix for APC bug
Browse files Browse the repository at this point in the history
  • Loading branch information
krzysztof-magosa committed Oct 19, 2014
1 parent d8cc867 commit 83fc938
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/KM/Saffron/Executor.php
Expand Up @@ -144,7 +144,8 @@ public function fire()
$method = new \ReflectionMethod($this->controller, $this->method);
$arguments = [];
foreach ($method->getParameters() as $parameter) {
$name = $parameter->getName();
// https://bugs.php.net/bug.php?id=61384
$name = $parameter->name;
$arguments[] = isset($this->parameters[$name]) ? $this->parameters[$name] : null;
}

Expand Down

0 comments on commit 83fc938

Please sign in to comment.