Skip to content

Commit f267749

Browse files
committed
Fix ClassNotFoundException constructor invokation
1 parent f68036e commit f267749

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/php/lang/Type.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ public static function named($name, $context) {
338338
try {
339339
return new XPClass(new \ReflectionClass($name));
340340
} catch (\ReflectionException $e) {
341-
throw new ClassNotFoundException($name, $e);
341+
throw new ClassNotFoundException($name, [], $e);
342342
}
343343
} else {
344344
$t= self::named(trim(substr($name, 0, $p)), $context);

0 commit comments

Comments
 (0)