You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix critical method signature mismatches with 5.x source (#8179)
Fixes method signatures that were wrong, referenced nonexistent
methods, or had extra/missing parameters compared to the actual
CakePHP 5.x source code. Relates to #7744.
Changes:
- Entity::dirty() -> isDirty() (dirty() does not exist in 5.x)
- Table::get() updated to match new named-parameter signature
- Table::find() add type and default for $type parameter
- RouteBuilder::extensions() -> setExtensions() (extensions() does
not exist)
- PaginatorHelper::counter() remove nonexistent $options parameter
- PaginatorHelper::generateUrl() remove nonexistent $model parameter
- PaginatorHelper::hasNext() remove nonexistent $model parameter
- Controller::addViewClasses() add missing $viewClasses parameter
- Cache::add() fix syntax error (missing comma) and add types
Co-authored-by: Jasper Smet <josbeir@users.noreply.github.com>
0 commit comments