public function countIssues(): int
    {
        $count = 0;
        foreach ($this->files as $file) {
            $count += count($file->getIssues());
        }
        return $count;
    }
public function countIssues(): int
    {
        $count = 0;
        foreach ($this->files as $file) {
            $count += count($file->getIssues());
        }
        return $count;
    }
public function countIssues ( ) : int { $ count = 0 ; foreach ( $ this -> files as $ file ) { $ count += count ( $ file -> getIssues ( ) ) ; } return $ count ; }
Returns the number of issues for the entire report.

@return int The number of issues for the entire report.
Returns the number of issues for the entire report .