Skip to content

3.9.2

Latest

Choose a tag to compare

@dereuromark dereuromark released this 11 Oct 21:57
· 2 commits to master since this release
ed36b5f

Fixes

  • Table::record() now calls Table::get() with a finder name and named arguments, so it no longer triggers the CakePHP 5 "options array is deprecated" warning and a custom finder combined with other options (fields, contain, ...) is applied. #134
  • Table::record() accepts the legacy key option as an alias for cacheKey; an explicit cacheKey wins. #134
  • YearType::marshal() and YearType::toDatabase() return null for array input without a year key instead of raising an undefined-index warning. #134
  • Shim\Annotator\EntityAnnotator keeps the iterable value type on generated set...OrFail() setter annotations (for example array<\App\Model\Entity\Tag>) when IdeHelper.genericsInParam is enabled. Without the option the type still collapses to array. #130
  • Controller::afterFilter() documents its event parameter as EventInterface<\Cake\Controller\Controller>, so PHPStan no longer reports a missing generic on it. #131

Full Changelog: 3.9.1...3.9.2