public function getSuccessfullyResults(): ResultCollection
    {
        $successfullyResults = array_filter($this->results, function (Result $result) {
            return $result->isSuccessfully();
        });

        return new self(...$successfullyResults);
    }
public function getSuccessfullyResults(): ResultCollection
    {
        $successfullyResults = array_filter($this->results, function (Result $result) {
            return $result->isSuccessfully();
        });

        return new self(...$successfullyResults);
    }
public function getSuccessfullyResults ( ) : ResultCollection { $ successfullyResults = array_filter ( $ this -> results , function ( Result $ result ) { return $ result -> isSuccessfully ( ) ; } ) ; return new self ( ... $ successfullyResults ) ; }
Get successfully results

@return ResultCollection
Get successfully results