User tests: Successful: Unsuccessful:
The ResultType*Aware traits (Array, Float, Integer, Numeric, Object, String) carried a $resultIsFalseable flag, tagged @deprecated 4.3 will be removed in 7.0, that let an event class accept false as a result of that type. This removes the flag and the branch in typeCheckResult() that honoured it. $resultIsNullable stays.
No core event class ever set the flag to true, so core behaviour does not change: a false result on one of these events already raised the "only accepts ... results" InvalidArgumentException. Extension event classes that set it to true now get that exception for false results, which the deprecation notice announced: use null with $resultIsNullable, or throw.
grep -rn resultIsFalseable libraries administrator components plugins finds nothing.onContentAfterTitle, onContentBeforeDisplay, onContentAfterDisplay use the Array trait).onGetIcons, onSampledataGetOverview).onUserLoginButtons).Everything works. The flag exists, nothing in core sets it.
Everything works the same. The flag and its branch are gone.
| Status | New | ⇒ | Pending |
| Category | ⇒ | Libraries |