Fix typos in comments

This commit is contained in:
Nestor Soriano 2021-05-07 09:16:45 +02:00
parent 9dcdfddc15
commit cdc55bf846
No known key found for this signature in database
GPG Key ID: 08110F3518C12CAD
1 changed files with 2 additions and 2 deletions

View File

@ -151,10 +151,10 @@ class ExtendedContainer extends BaseContainer {
}
/**
* Check if a class name corresponds to an anonoymous class.
* Check if a class name corresponds to an anonymous class.
*
* @param string $class_name The class name to check.
* @return bool True if the name correspondos to an anynymous class.
* @return bool True if the name corresponds to an anonymous class.
*/
protected function is_anonymous_class( string $class_name ): bool {
return StringUtil::starts_with( $class_name, 'class@anonymous' );