@@ -97,7 +97,7 @@ public function indexAction(): void
9797 public function membersAction (): Generator
9898 {
9999 $ this ->loadGroup ();
100- $ nodesQuery = $ this ->fetchNodes (true );
100+ $ nodesQuery = $ this ->fetchDependencyNodes (true );
101101
102102 $ limitControl = $ this ->createLimitControl ();
103103 $ paginationControl = $ this ->createPaginationControl ($ nodesQuery );
@@ -159,7 +159,7 @@ public function membersAction(): Generator
159159 public function childrenAction (): Generator
160160 {
161161 $ this ->loadGroup ();
162- $ nodesQuery = $ this ->fetchNodes ();
162+ $ nodesQuery = $ this ->fetchDependencyNodes ();
163163
164164 $ limitControl = $ this ->createLimitControl ();
165165 $ paginationControl = $ this ->createPaginationControl ($ nodesQuery );
@@ -315,17 +315,17 @@ protected function setTitleTab(string $name): void
315315 }
316316
317317 /**
318- * Fetch the nodes for the current group
318+ * Fetch the dependency nodes of the current group
319319 *
320- * @param bool $fetchParents Whether to fetch the parents or the children
320+ * @param bool $parents Whether to fetch the parents or the children
321321 *
322322 * @return Query
323323 */
324- private function fetchNodes (bool $ fetchParents = false ): Query
324+ private function fetchDependencyNodes (bool $ parents = false ): Query
325325 {
326326 $ filterColumn = sprintf (
327327 '%s.redundancy_group.id ' ,
328- $ fetchParents ? 'child ' : 'parent '
328+ $ parents ? 'child ' : 'parent '
329329 );
330330
331331 $ query = DependencyNode::on ($ this ->getDb ())
0 commit comments