Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit af7f75f

Browse files
committed
merged branch bamarni/patch-14 (PR #6273)
This PR was submitted for the master branch but it was merged into the 2.0 branch instead (closes #6273). Commits ------- 9273b62 [HttpKernel] checked for a potentially missing key Discussion ---------- [HttpKernel] checked for a potentially missing key
2 parents e42ab1d + 26b8b47 commit af7f75f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Symfony/Component/HttpKernel/Exception/FlattenException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ public function setTrace($trace, $file, $line)
161161
'short_class' => $class,
162162
'class' => isset($entry['class']) ? $entry['class'] : '',
163163
'type' => isset($entry['type']) ? $entry['type'] : '',
164-
'function' => $entry['function'],
164+
'function' => isset($entry['function']) ? $entry['function'] : null,
165165
'file' => isset($entry['file']) ? $entry['file'] : null,
166166
'line' => isset($entry['line']) ? $entry['line'] : null,
167167
'args' => isset($entry['args']) ? $this->flattenArgs($entry['args']) : array(),

0 commit comments

Comments
 (0)