@@ -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 );
@@ -317,17 +317,17 @@ protected function setTitleTab(string $name): void
317
317
}
318
318
319
319
/**
320
- * Fetch the nodes for the current group
320
+ * Fetch the dependency nodes of the current group
321
321
*
322
- * @param bool $fetchParents Whether to fetch the parents or the children
322
+ * @param bool $parents Whether to fetch the parents or the children
323
323
*
324
324
* @return Query
325
325
*/
326
- private function fetchNodes (bool $ fetchParents = false ): Query
326
+ private function fetchDependencyNodes (bool $ parents = false ): Query
327
327
{
328
328
$ filterColumn = sprintf (
329
329
'%s.redundancy_group.id ' ,
330
- $ fetchParents ? 'child ' : 'parent '
330
+ $ parents ? 'child ' : 'parent '
331
331
);
332
332
333
333
$ query = DependencyNode::on ($ this ->getDb ())
0 commit comments