Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
minor #25384 [HttpKernel] remove noisy frame in controller stack trac…
…es (nicolas-grekas)

This PR was merged into the 2.7 branch.

Discussion
----------

[HttpKernel] remove noisy frame in controller stack traces

| Q             | A
| ------------- | ---
| Branch?       | 2.7
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | -
| License       | MIT
| Doc PR        | -

Commits
-------

520cc97 [HttpKernel] remove noisy frame in controller stack traces
  • Loading branch information
fabpot committed Dec 8, 2017
2 parents ed60a8b + 520cc97 commit 87c5c2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Symfony/Component/HttpKernel/HttpKernel.php
Expand Up @@ -134,7 +134,7 @@ private function handleRaw(Request $request, $type = self::MASTER_REQUEST)
$arguments = $this->resolver->getArguments($request, $controller);

// call controller
$response = call_user_func_array($controller, $arguments);
$response = \call_user_func_array($controller, $arguments);

// view
if (!$response instanceof Response) {
Expand Down

0 comments on commit 87c5c2c

Please sign in to comment.