We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 47fc36b commit 9101235Copy full SHA for 9101235
src/ClassDiscovery.php
@@ -199,7 +199,7 @@ protected static function instantiateClass($class)
199
return $class();
200
}
201
} catch (\Exception $e) {
202
- throw new ClassInstantiationFailedException('Unexcepced exception when instantiating class.', 0, $e);
+ throw new ClassInstantiationFailedException('Unexpected exception when instantiating class.', 0, $e);
203
204
205
throw new ClassInstantiationFailedException('Could not instantiate class because parameter is neither a callable nor a string');
0 commit comments