Skip to content

Commit

Permalink
Removed generic template from the interface
Browse files Browse the repository at this point in the history
  • Loading branch information
Steveb-p committed Nov 19, 2024
1 parent 6af6378 commit 1b6ba82
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
2 changes: 0 additions & 2 deletions src/contracts/Validation/AbstractValidationStructWrapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

/**
* @template T of object
*
* @implements \Ibexa\Contracts\Core\Validation\ValidationStructWrapperInterface<T>
*/
abstract class AbstractValidationStructWrapper implements ValidationStructWrapperInterface
{
Expand Down
5 changes: 0 additions & 5 deletions src/contracts/Validation/ValidationStructWrapperInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,9 @@

use Symfony\Component\Validator\Constraints as Assert;

/**
* @template T of object
*/
interface ValidationStructWrapperInterface
{
/**
* @phpstan-return T
*
* @Assert\Valid()
*/
public function getStruct(): object;
Expand Down

0 comments on commit 1b6ba82

Please sign in to comment.