Skip to content
Snippets Groups Projects
Commit fc73157e authored by Alexey Beloglazov's avatar Alexey Beloglazov
Browse files

Nullable types must be explicit.

parent acd02e62
No related branches found
No related tags found
1 merge request!17Nullable types must be explicit.
......@@ -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');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment