Skip to content
Snippets Groups Projects

Issue #3495407 by tr: Parameter xxx has null default value, but is not marked as nullable

Merged Issue #3495407 by tr: Parameter xxx has null default value, but is not marked as nullable
Merged Tim Rohaly requested to merge issue/rules-3495407:3495407-parameter-xxx-has into 4.0.x
Files
33
@@ -14,7 +14,7 @@ interface ConfigurationAccessControlInterface {
/**
* Check configuration access.
*
* @param \Drupal\Core\Session\AccountInterface $account
* @param \Drupal\Core\Session\AccountInterface|null $account
* (optional) The user for which to check access, or NULL to check access
* for the current user. Defaults to NULL.
* @param bool $return_as_object
@@ -27,6 +27,6 @@ interface ConfigurationAccessControlInterface {
* returned, i.e. TRUE means access is explicitly allowed, FALSE means
* access is either explicitly forbidden or "no opinion".
*/
public function checkConfigurationAccess(AccountInterface $account = NULL, $return_as_object = FALSE);
public function checkConfigurationAccess(?AccountInterface $account = NULL, bool $return_as_object = FALSE);
}
Loading