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 7720b47 commit b417b51Copy full SHA for b417b51
App.php
@@ -140,11 +140,11 @@ public function setCallstack(ExecutableInterface $executable)
140
*/
141
public function executeCallstack(): Response
142
{
143
- if (empty($this->callstack) || is_null($next = array_shift($callstack))) {
+ if (empty($this->callstack) || is_null($next = array_shift($this->callstack))) {
144
throw new LogicException('Trying to execute an empty callstack!');
145
}
146
147
- if (is_string($next)) $next = new $next($callstack);
+ if (is_string($next)) $next = new $next($this->callstack);
148
149
if (!$next instanceof ExecutableInterface) {
150
throw new LogicException('Callstack contains an object which is not an instance of Executable!');
0 commit comments