Skip to content

Conversation

@dereuromark
Copy link
Member

Summary

Fixes PHPStan error introduced after core added @template TSubject to the View class in cakephp/cakephp@4728e8a (Dec 22, 2025).

The error was:

Class App\View\AppView extends generic class Cake\View\View but does not specify its types: TSubject

This adds the required @extends annotation to satisfy PHPStan.

Fixes PHPStan error after core added @template TSubject to View class
in cakephp/cakephp@4728e8a.
@ADmad ADmad merged commit 4fe3d95 into cakephp:5.x Jan 17, 2026
4 checks passed
@dereuromark dereuromark deleted the fix/appview-generic-type branch January 17, 2026 03:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants