E.g. if one has an overwriten/custom CakeDC\Users\Model\Table\UsersTable class the IDE Helper Plugin will inject
* @extends \CakeDC\Users\Model\Table\UsersTable<array{SunlimeEncryption: \App\Model\Behavior\SunlimeEncryptionBehavior, Timestamp: \Cake\ORM\Behavior\TimestampBehavior}>
which does not work for stan since it reports
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line plugins/AlfredStaffMembers/src/Model/Table/StaffMembersTable.php
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
62 PHPDoc tag @extends contains generic type CakeDC\Users\Model\Table\UsersTable<array<string, App\Model\Behavior\SunlimeEncryptionBehavior|Cake\ORM\Behavior\TimestampBehavior>> but class CakeDC\Users\Model\Table\UsersTable is not
generic.
🪪 generics.notGeneric
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Not sure what the syntax is, but the generics TBehaviors needs to be passed down to the base Cake\ORM\Table class.
Refs: cakephp/cakephp#18323
E.g. if one has an overwriten/custom
CakeDC\Users\Model\Table\UsersTableclass the IDE Helper Plugin will injectwhich does not work for stan since it reports
Not sure what the syntax is, but the generics
TBehaviorsneeds to be passed down to the baseCake\ORM\Tableclass.Refs: cakephp/cakephp#18323