Skip to content

Commit e128903

Browse files
committed
Add generic type annotation to AppView
Fixes PHPStan error after core added @template TSubject to View class in cakephp/cakephp@4728e8a.
1 parent ca6ecc5 commit e128903

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/View/AppView.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
* Your application's default view class
2424
*
2525
* @link https://book.cakephp.org/5/en/views.html#the-app-view
26+
* @extends \Cake\View\View<\App\View\AppView>
2627
*/
2728
class AppView extends View
2829
{

0 commit comments

Comments
 (0)