Skip to content

Commit

Permalink
added @template-implements to solve Psalm issues
Browse files Browse the repository at this point in the history
  • Loading branch information
driehle committed Oct 15, 2023
1 parent 7cc1cfc commit f02e850
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/Options/DBALConfiguration.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@

/**
* Configuration options for a DBAL Connection
*
* @template-extends AbstractOptions<mixed>
*/
class DBALConfiguration extends AbstractOptions
{
Expand Down
2 changes: 2 additions & 0 deletions src/Options/DBALConnection.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@

/**
* DBAL Connection options
*
* @template-extends AbstractOptions<mixed>
*/
final class DBALConnection extends AbstractOptions
{
Expand Down
3 changes: 3 additions & 0 deletions src/Options/EntityManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@

use Laminas\Stdlib\AbstractOptions;

/**
* @template-extends AbstractOptions<mixed>
*/
final class EntityManager extends AbstractOptions
{
/**
Expand Down
3 changes: 3 additions & 0 deletions src/Options/EntityResolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
use function class_exists;
use function sprintf;

/**
* @template-extends AbstractOptions<mixed>
*/
final class EntityResolver extends AbstractOptions
{
/**
Expand Down
4 changes: 3 additions & 1 deletion src/Options/SQLLoggerCollectorOptions.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@
use Laminas\Stdlib\AbstractOptions;

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

/**
* Configuration options for Second Level Cache
*
* @template-extends AbstractOptions<mixed>
*/
final class SecondLevelCacheConfiguration extends AbstractOptions
{
Expand Down

0 comments on commit f02e850

Please sign in to comment.