Skip to content

Commit

Permalink
Merge pull request #822 from driehle/fix/psalm
Browse files Browse the repository at this point in the history
Added @template-implements to solve Psalm issues
  • Loading branch information
driehle authored Oct 25, 2023
2 parents 53d3719 + 787571b commit f1c5094
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Options/Authentication.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@
* All remains the same using with DoctrineModule\Service\AuthenticationStorageFactory,
* however, a string may be passed to $objectManager. This string must be a valid key to
* retrieve an ObjectManager instance from the ServiceManager.
*
* @template-extends AbstractOptions<mixed>
*/
final class Authentication extends AbstractOptions
{
Expand Down
2 changes: 2 additions & 0 deletions src/Options/Cache.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@

/**
* Cache options
*
* @template-extends AbstractOptions<mixed>
*/
final class Cache extends AbstractOptions
{
Expand Down
2 changes: 2 additions & 0 deletions src/Options/Driver.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@

/**
* MappingDriver options
*
* @template-extends AbstractOptions<mixed>
*/
final class Driver extends AbstractOptions
{
Expand Down
2 changes: 2 additions & 0 deletions src/Options/EventManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@

/**
* EventManager options
*
* @template-extends AbstractOptions<mixed>
*/
final class EventManager extends AbstractOptions
{
Expand Down

0 comments on commit f1c5094

Please sign in to comment.