diff --git a/src/IlluminateRegistry.php b/src/IlluminateRegistry.php index 2efd5c78..45663967 100644 --- a/src/IlluminateRegistry.php +++ b/src/IlluminateRegistry.php @@ -301,6 +301,8 @@ public function getRepository(string $persistentObject, string|null $persistentM * Gets the object manager associated with a given class. * * @param class-string $className A persistent object class name. + * + * @return ($throwExceptionIfNotFound is true ? ObjectManager : ObjectManager|null) */ public function getManagerForClass(string $className, bool $throwExceptionIfNotFound = false): ObjectManager|null {