diff --git a/src/Entity/PathautoPattern.php b/src/Entity/PathautoPattern.php index 4f56a46..9e3ab34 100644 --- a/src/Entity/PathautoPattern.php +++ b/src/Entity/PathautoPattern.php @@ -111,7 +111,7 @@ class PathautoPattern extends ConfigEntityBase implements PathautoPatternInterfa /** * @var array[] * Keys are context tokens, and values are arrays with the following keys: - * - label (string, optional): The human-readable label of this + * - label (string|null, optional): The human-readable label of this * relationship. */ protected $relationships = []; diff --git a/src/PathautoPatternInterface.php b/src/PathautoPatternInterface.php index ed0c7d4..8bc5f0c 100644 --- a/src/PathautoPatternInterface.php +++ b/src/PathautoPatternInterface.php @@ -122,7 +122,7 @@ interface PathautoPatternInterface extends ConfigEntityInterface { * * @return array[] * Keys are context tokens, and values are arrays with the following keys: - * - label (string, optional): The human-readable label of this + * - label (string|null, optional): The human-readable label of this * relationship. */ public function getRelationships();