phonetworks/pho-lib-graph

View on GitHub
src/Pho/Lib/Graph/EdgeList.php

Summary

Maintainability
A
1 hr
Test Coverage

Avoid too many return statements within this method.
Open

            return new \ArrayIterator(
                array_map($hydrate, $this->$key[(string) $node_id])
            );
Severity: Major
Found in src/Pho/Lib/Graph/EdgeList.php - About 30 mins to fix

    Avoid too many return statements within this method.
    Open

            return new \ArrayIterator(
                array_map($hydrate, array_filter($this->$key[(string) $node_id], $filter_classes))
            );
    Severity: Major
    Found in src/Pho/Lib/Graph/EdgeList.php - About 30 mins to fix

      Avoid too many return statements within this method.
      Open

              return new \ArrayIterator(
                  array_map($hydrate, 
                      array_filter($this->$d, $filter_classes)
                  )
              );
      Severity: Major
      Found in src/Pho/Lib/Graph/EdgeList.php - About 30 mins to fix

        There are no issues that match your filters.

        Category
        Status