From 3a64eb9745e176a3f66fb14c797d9eaf68ba166d Mon Sep 17 00:00:00 2001 From: Steve Boyd Date: Thu, 28 Nov 2024 14:05:38 +1300 Subject: [PATCH] API Explicity mark nullable parameters for PHP 8.4 --- src/GridFieldConfigurablePaginator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/GridFieldConfigurablePaginator.php b/src/GridFieldConfigurablePaginator.php index 51a037c..298a4b3 100644 --- a/src/GridFieldConfigurablePaginator.php +++ b/src/GridFieldConfigurablePaginator.php @@ -424,7 +424,7 @@ public function getActions($gridField) * @param GridField $gridField Not used, but present for parent method compatibility * @return GridState_Data */ - protected function getGridPagerState(GridField $gridField = null) + protected function getGridPagerState(?GridField $gridField = null) { if (!$this->gridFieldState) { $state = $this->getGridField()->State->GridFieldConfigurablePaginator;