src/Jobs/Collection.php
public function failedForGroup($group, int $start = 0, int $limit = 25): array
    {
        $results = json_decode($this->client->failed($group, $start, $limit), true);

        if (isset($results['jobs']) && !empty($results['jobs'])) {
            $results['jobs'] = $this->multiget($results['jobs']);
        }

        return is_array($results) ? $results : [];
    }
public function failedForGroup($group, int $start = 0, int $limit = 25): array
    {
        $results = json_decode($this->client->failed($group, $start, $limit), true);

        if (isset($results['jobs']) && !empty($results['jobs'])) {
            $results['jobs'] = $this->multiget($results['jobs']);
        }

        return is_array($results) ? $results : [];
    }
public function failedForGroup ( $ group , int $ start = 0 , int $ limit = 25 ) : array { $ results = json_decode ( $ this -> client -> failed ( $ group , $ start , $ limit ) , true ) ; if ( isset ( $ results [ 'jobs' ] ) && ! empty ( $ results [ 'jobs' ] ) ) { $ results [ 'jobs' ] = $ this -> multiget ( $ results [ 'jobs' ] ) ; } return is_array ( $ results ) ? $ results : [ ] ; }
Fetches a report of failed jobs for the specified group

@param string|bool $group
@param int         $start
@param int         $limit

@return array
Fetches a report of failed jobs for the specified group