public function getIssues(): array
    {
        usort(
            $this->issues,
            function (Issue $a, Issue $b) {
                return $a->getLine() - $b->getLine();
            }
        );
        return $this->issues;
    }
public function getIssues(): array
    {
        usort(
            $this->issues,
            function (Issue $a, Issue $b) {
                return $a->getLine() - $b->getLine();
            }
        );
        return $this->issues;
    }
public function getIssues ( ) : array { usort ( $ this -> issues , function ( Issue $ a , Issue $ b ) { return $ a -> getLine ( ) - $ b -> getLine ( ) ; } ) ; return $ this -> issues ; }
Gets all issues for this file. The issues will be sorted by line
numbers, not by order of addition to this report.

@return Issue[] The issues for this file.
Gets all issues for this file . The issues will be sorted by line numbers not by order of addition to this report .