@@ -97,7 +97,7 @@ public function indexAction(): void
97
97
public function membersAction (): Generator
98
98
{
99
99
$ this ->loadGroup ();
100
- $ nodesQuery = $ this ->fetchNodes (true );
100
+ $ nodesQuery = $ this ->fetchDependencyNodes (true );
101
101
102
102
$ limitControl = $ this ->createLimitControl ();
103
103
$ paginationControl = $ this ->createPaginationControl ($ nodesQuery );
@@ -159,7 +159,7 @@ public function membersAction(): Generator
159
159
public function childrenAction (): Generator
160
160
{
161
161
$ this ->loadGroup ();
162
- $ nodesQuery = $ this ->fetchNodes ();
162
+ $ nodesQuery = $ this ->fetchDependencyNodes ();
163
163
164
164
$ limitControl = $ this ->createLimitControl ();
165
165
$ paginationControl = $ this ->createPaginationControl ($ nodesQuery );
@@ -315,17 +315,17 @@ protected function setTitleTab(string $name): void
315
315
}
316
316
317
317
/**
318
- * Fetch the nodes for the current group
318
+ * Fetch the dependency nodes of the current group
319
319
*
320
- * @param bool $fetchParents Whether to fetch the parents or the children
320
+ * @param bool $parents Whether to fetch the parents or the children
321
321
*
322
322
* @return Query
323
323
*/
324
- private function fetchNodes (bool $ fetchParents = false ): Query
324
+ private function fetchDependencyNodes (bool $ parents = false ): Query
325
325
{
326
326
$ filterColumn = sprintf (
327
327
'%s.redundancy_group.id ' ,
328
- $ fetchParents ? 'child ' : 'parent '
328
+ $ parents ? 'child ' : 'parent '
329
329
);
330
330
331
331
$ query = DependencyNode::on ($ this ->getDb ())
0 commit comments