Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 736b39a

Browse filesBrowse files
[Debug] fix ClassNotFoundFatalErrorHandler
1 parent 4b419f2 commit 736b39a
Copy full SHA for 736b39a

File tree

1 file changed

+4
-0
lines changed
Filter options

1 file changed

+4
-0
lines changed

‎src/Symfony/Component/Debug/Tests/FatalErrorHandler/ClassNotFoundFatalErrorHandlerTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Debug/Tests/FatalErrorHandler/ClassNotFoundFatalErrorHandlerTest.php
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@ public static function setUpBeforeClass()
2929
// get class loaders wrapped by DebugClassLoader
3030
if ($function[0] instanceof DebugClassLoader) {
3131
$function = $function[0]->getClassLoader();
32+
33+
if (!\is_array($function)) {
34+
continue;
35+
}
3236
}
3337

3438
if ($function[0] instanceof ComposerClassLoader) {

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.