1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-13 02:04:35 +02:00

Updates for PHP 8.4 support per processwire/processwire-issues#2000 Also note that these changes require we adjust our minimum required PHP version from 7.0 up to 7.1, with PHP 8.x still recommended.

This commit is contained in:
Ryan Cramer
2024-11-29 13:29:28 -05:00
parent ac4dfebfab
commit 1c5f2f7e3c
72 changed files with 208 additions and 188 deletions

View File

@@ -109,7 +109,7 @@ abstract class WireSaveableItemsLookup extends WireSaveableItems {
* @since 3.0.194
*
*/
protected function initItem(array &$row, WireArray $items = null) {
protected function initItem(array &$row, ?WireArray $items = null) {
$lookupField = $this->getLookupField();
$lookupValue = $row[$lookupField];