Skip to content

Commit 17dc65a

Browse files
committed
Refactor action annotations for consistency in type extensions.
1 parent e61fd7d commit 17dc65a

File tree

5 files changed

+5
-10
lines changed

5 files changed

+5
-10
lines changed

phpstan.neon

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,6 @@ parameters:
55
bootstrapFiles:
66
- tests/_bootstrap.php
77

8-
excludePaths:
9-
analyse:
10-
- tests/support
11-
128
level: max
139

1410
paths:

runtime/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
*
2+
!.gitignore

src/usecase/contact/IndexAction.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@
77
use yii\base\Action;
88

99
/**
10-
* @template T of ContactController
11-
* @extends Action<T>
10+
* @extends Action<ContactController>
1211
*/
1312
final class IndexAction extends Action
1413
{

src/usecase/security/LoginAction.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@
88
use yii\web\Response;
99

1010
/**
11-
* @template T of SecurityController
12-
* @extends Action<T>
11+
* @extends Action<SecurityController>
1312
*/
1413
final class LoginAction extends Action
1514
{

src/usecase/security/LogoutAction.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@
88
use yii\web\Response;
99

1010
/**
11-
* @template T of SecurityController
12-
* @extends Action<T>
11+
* @extends Action<SecurityController>
1312
*/
1413
final class LogoutAction extends Action
1514
{

0 commit comments

Comments
 (0)