diff --git a/modules/rdf_export/src/Routing/RouteSubscriber.php b/modules/rdf_export/src/Routing/RouteSubscriber.php index 04be71b..ce166d7 100644 --- a/modules/rdf_export/src/Routing/RouteSubscriber.php +++ b/modules/rdf_export/src/Routing/RouteSubscriber.php @@ -18,6 +18,8 @@ class RouteSubscriber extends RouteSubscriberBase { /** * The entity type manager service. + * + * @var \Drupal\Core\Entity\EntityTypeManagerInterface */ protected EntityTypeManagerInterface $entityTypeManager; diff --git a/modules/rdf_taxonomy/src/EventSubscriber/TermParentSubscriber.php b/modules/rdf_taxonomy/src/EventSubscriber/TermParentSubscriber.php index 55e638a..92f89d6 100644 --- a/modules/rdf_taxonomy/src/EventSubscriber/TermParentSubscriber.php +++ b/modules/rdf_taxonomy/src/EventSubscriber/TermParentSubscriber.php @@ -25,6 +25,8 @@ class TermParentSubscriber implements EventSubscriberInterface { /** * The entity type manager service. + * + * @var \Drupal\Core\Entity\EntityTypeManagerInterface */ protected EntityTypeManagerInterface $entityTypeManager; diff --git a/modules/rdf_taxonomy/src/TermRdfStorage.php b/modules/rdf_taxonomy/src/TermRdfStorage.php index 354954e..24a6b4f 100644 --- a/modules/rdf_taxonomy/src/TermRdfStorage.php +++ b/modules/rdf_taxonomy/src/TermRdfStorage.php @@ -34,6 +34,8 @@ class TermRdfStorage extends SparqlEntityStorage implements TermStorageInterface /** * The active database connection. + * + * @var \Drupal\Core\Database\Connection */ protected Connection $database; @@ -52,36 +54,50 @@ class TermRdfStorage extends SparqlEntityStorage implements TermStorageInterface /** * Array of loaded parents keyed by child term ID. + * + * @var array */ protected array $parents = []; /** * Array of all loaded term ancestry keyed by ancestor term ID. + * + * @var array */ protected array $parentsAll = []; /** * Array of child terms keyed by parent term ID. + * + * @var array */ protected array $children = []; /** * Array of term parents keyed by vocabulary ID and child term ID. + * + * @var array */ protected array $treeParents = []; /** * Array of term ancestors keyed by vocabulary ID and parent term ID. + * + * @var array */ protected array $treeChildren = []; /** * Array of terms in a tree keyed by vocabulary ID and term ID. + * + * @var array */ protected array $treeTerms = []; /** * Array of loaded trees keyed by a cache id matching tree arguments. + * + * @var array */ protected array $trees = [];