Repository navigation
Fixes
FlashHelper::__callnow rejects the literaltransient()call (no type suffix), matchingFlashComponent. Previously this slipped through astype => ''and rendered elementflash/.FlashHelper::_mergeOptionsstrips a leadingflash/before re-prefixing, so callers passing a stored options array with'element' => 'flash/error'no longer getflash/flash/erroron the second pass.FlashHelper::transientMessageuses a while-loop to trim the session stack instead of a singlearray_shift, so an over-limit stack (e.g. afterlimitwas lowered) is brought back to size in one call. Mirrors the equivalent fix inFlashComponent.
Improvements
- Typed
array|string|nullsignatures onFlashHelper::message(),transientMessage(), and_mergeOptions()— symmetry withFlashComponent(PHPStan level 8 clean). - Replace
strpos($name, 'transient') === 0withstr_starts_withand require PHP 8.2+ (was 8.1).
Full Changelog: 3.2.0...3.3.0