File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,6 @@ parameters:
1111 bootstrapFiles :
1212 - tests/bootstrap.php
1313 - tests/shim.php
14- checkGenericClassInNonGenericObjectType : false
1514 ignoreErrors :
1615 - '#Unsafe usage of new static\ (\ ).+ #'
1716 - ' #Parameter \ #1 \$object of function get_class expects object , object\|string given. #'
Original file line number Diff line number Diff line change @@ -283,7 +283,7 @@ protected function getAssociations(AssociationCollection $tableAssociations): ar
283283 continue ;
284284 }
285285
286- /** @var \Cake\ORM\Association\BelongsToMany $association */
286+ /** @var \Cake\ORM\Association\BelongsToMany<\Cake\ORM\Table> $association */
287287 $ through = $ this ->throughAlias ($ association );
288288 if (!$ through ) {
289289 continue ;
@@ -306,7 +306,7 @@ protected function getAssociations(AssociationCollection $tableAssociations): ar
306306 }
307307
308308 /**
309- * @param \Cake\ORM\Association\BelongsToMany $association
309+ * @param \Cake\ORM\Association\BelongsToMany<\Cake\ORM\Table> $association
310310 * @return string
311311 */
312312 protected function throughAlias (BelongsToMany $ association ): string {
@@ -328,7 +328,7 @@ protected function throughAlias(BelongsToMany $association): string {
328328 /**
329329 * @uses \Cake\ORM\Association\BelongsToMany::_junctionTableName()
330330 *
331- * @param \Cake\ORM\Association\BelongsToMany $association
331+ * @param \Cake\ORM\Association\BelongsToMany<\Cake\ORM\Table> $association
332332 * @return string
333333 */
334334 protected function junctionTableName (BelongsToMany $ association ): string {
You can’t perform that action at this time.
0 commit comments