Skip to content

Commit 8737aad

Browse files
yguedidiNyholm
authored andcommitted
Fix exception message tiny typo (#81)
1 parent 859eade commit 8737aad

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
@@ -202,6 +202,6 @@ protected static function instantiateClass($class)
202202
throw new ClassInstantiationFailedException('Unexcepced exception when instantiating class.', 0, $e);
203203
}
204204

205-
throw new ClassInstantiationFailedException('Could not instantiate class becuase parameter is neither a callable nor a string');
205+
throw new ClassInstantiationFailedException('Could not instantiate class because parameter is neither a callable nor a string');
206206
}
207207
}

0 commit comments

Comments
 (0)