Skip to content

Commit

Permalink
Add phpdoc extends on the example (#224)
Browse files Browse the repository at this point in the history
  • Loading branch information
maxhelias authored Aug 24, 2022
1 parent 16f6b8a commit 714a0f7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Resources/docs/default_value.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ namespace App\DBAL\Types;

use Fresh\DoctrineEnumBundle\DBAL\Types\AbstractEnumType;

/**
* @extends AbstractEnumType<string, string>
*/
final class MapLocationType extends AbstractEnumType
{
public final const NORTH = 'N';
Expand Down
3 changes: 3 additions & 0 deletions Resources/docs/usage_example.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ namespace App\DBAL\Types;

use Fresh\DoctrineEnumBundle\DBAL\Types\AbstractEnumType;

/**
* @extends AbstractEnumType<string, string>
*/
final class BasketballPositionType extends AbstractEnumType
{
public final const POINT_GUARD = 'PG';
Expand Down

0 comments on commit 714a0f7

Please sign in to comment.