Skip to content

Commit 9101235

Browse files
pascal-hofmannNyholm
authored andcommitted
Fixed typo in exception message ("Unexcepced") (#87)
1 parent 47fc36b commit 9101235

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ClassDiscovery.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ protected static function instantiateClass($class)
199199
return $class();
200200
}
201201
} catch (\Exception $e) {
202-
throw new ClassInstantiationFailedException('Unexcepced exception when instantiating class.', 0, $e);
202+
throw new ClassInstantiationFailedException('Unexpected exception when instantiating class.', 0, $e);
203203
}
204204

205205
throw new ClassInstantiationFailedException('Could not instantiate class because parameter is neither a callable nor a string');

0 commit comments

Comments
 (0)