Skip to content

Commit 5b5aefc

Browse files
derrabusnicolas-grekas
authored andcommitted
Switched to non-null defaults in exception constructors
1 parent 1c2d159 commit 5b5aefc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Routing/DelegatingLoader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public function load($resource, $type = null)
7777
// - this handles the case and prevents the second fatal error
7878
// by triggering an exception beforehand.
7979

80-
throw new LoaderLoadException($resource, null, null, null, $type);
80+
throw new LoaderLoadException($resource, null, 0, null, $type);
8181
}
8282
$this->loading = true;
8383

0 commit comments

Comments
 (0)