Skip to content

Commit f1c5094

Browse files
authored
Merge pull request #822 from driehle/fix/psalm
Added @template-implements to solve Psalm issues
2 parents 53d3719 + 787571b commit f1c5094

File tree

4 files changed

+8
-0
lines changed

4 files changed

+8
-0
lines changed

src/Options/Authentication.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@
4747
* All remains the same using with DoctrineModule\Service\AuthenticationStorageFactory,
4848
* however, a string may be passed to $objectManager. This string must be a valid key to
4949
* retrieve an ObjectManager instance from the ServiceManager.
50+
*
51+
* @template-extends AbstractOptions<mixed>
5052
*/
5153
final class Authentication extends AbstractOptions
5254
{

src/Options/Cache.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99

1010
/**
1111
* Cache options
12+
*
13+
* @template-extends AbstractOptions<mixed>
1214
*/
1315
final class Cache extends AbstractOptions
1416
{

src/Options/Driver.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88

99
/**
1010
* MappingDriver options
11+
*
12+
* @template-extends AbstractOptions<mixed>
1113
*/
1214
final class Driver extends AbstractOptions
1315
{

src/Options/EventManager.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88

99
/**
1010
* EventManager options
11+
*
12+
* @template-extends AbstractOptions<mixed>
1113
*/
1214
final class EventManager extends AbstractOptions
1315
{

0 commit comments

Comments
 (0)