Skip to content

Commit

Permalink
Added @return annotation for getManagerForClass
Browse files Browse the repository at this point in the history
  • Loading branch information
TomHAnderson committed Nov 1, 2024
1 parent faf63df commit 30b6b16
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/IlluminateRegistry.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down

0 comments on commit 30b6b16

Please sign in to comment.