public function deleteFailed($id)
    {
        $this->connection()->zrem('failed_jobs', $id);

        $this->connection()->del($id);
    }
public function deleteFailed($id)
    {
        $this->connection()->zrem('failed_jobs', $id);

        $this->connection()->del($id);
    }
public function deleteFailed ( $ id ) { $ this -> connection ( ) -> zrem ( 'failed_jobs' , $ id ) ; $ this -> connection ( ) -> del ( $ id ) ; }
Delete a failed job by ID.

@param  string  $id
@return int
Delete a failed job by ID .