Skip to content

Commit dfad4d2

Browse files
author
Guido W. Pettinari
committed
🐛 Minor bug in exception namespace
1 parent 20aaeaf commit dfad4d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Config.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public static function config( string $query, $default = null )
8282
$option_name = $tokens[0];
8383

8484
if ( ! $option_name ) {
85-
throw new Exception( 'Passato valore vuoto o invalido a config', 1 );
85+
throw new \Exception( 'Passato valore vuoto o invalido a config', 1 );
8686
}
8787

8888
$default = $default ?? static::getDefaultValue( $query );

0 commit comments

Comments
 (0)