mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-12-21 18:39:31 +00:00
Added phpstan template annotations to Voters to fix phpstan issues
This commit is contained in:
parent
e9d03a0c95
commit
49034fabf2
16 changed files with 43 additions and 0 deletions
|
|
@ -32,6 +32,8 @@ use Symfony\Component\Security\Core\Authorization\Voter\Voter;
|
|||
* A Voter that votes on Part entities.
|
||||
*
|
||||
* See parts permissions for valid operations.
|
||||
*
|
||||
* @phpstan-extends Voter<non-empty-string, Part|class-string>
|
||||
*/
|
||||
final class PartVoter extends Voter
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue