From fc73157ebe0e8f1e30ae4721facdcd0bc9ca2ba9 Mon Sep 17 00:00:00 2001
From: Alexey Beloglazov <alexey@systemseed.com>
Date: Thu, 13 Feb 2025 00:30:44 +0300
Subject: [PATCH] Nullable types must be explicit.

---
 src/Form/GrantsForm.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Form/GrantsForm.php b/src/Form/GrantsForm.php
index 59ac010..da38ddb 100644
--- a/src/Form/GrantsForm.php
+++ b/src/Form/GrantsForm.php
@@ -65,7 +65,7 @@ class GrantsForm extends FormBase {
   /**
    * {@inheritdoc}
    */
-  public function buildForm(array $form, FormStateInterface $form_state, NodeInterface $node = NULL) {
+  public function buildForm(array $form, FormStateInterface $form_state, ?NodeInterface $node = NULL) {
     $form_values = $form_state->getValues();
     $nodeaccess_settings = $this->configFactory()->get('nodeaccess.settings');
 
-- 
GitLab