protected function updateRetryInformationOnParent(JobPayload $payload, $failed)
    {
        if ($retries = $this->connection()->hget($payload->retryOf(), 'retried_by')) {
            $retries = $this->updateRetryStatus(
                $payload, json_decode($retries, true), $failed
            );

            $this->connection()->hset(
                $payload->retryOf(), 'retried_by', json_encode($retries)
            );
        }
    }
protected function updateRetryInformationOnParent(JobPayload $payload, $failed)
    {
        if ($retries = $this->connection()->hget($payload->retryOf(), 'retried_by')) {
            $retries = $this->updateRetryStatus(
                $payload, json_decode($retries, true), $failed
            );

            $this->connection()->hset(
                $payload->retryOf(), 'retried_by', json_encode($retries)
            );
        }
    }
protected function updateRetryInformationOnParent ( JobPayload $ payload , $ failed ) { if ( $ retries = $ this -> connection ( ) -> hget ( $ payload -> retryOf ( ) , 'retried_by' ) ) { $ retries = $ this -> updateRetryStatus ( $ payload , json_decode ( $ retries , true ) , $ failed ) ; $ this -> connection ( ) -> hset ( $ payload -> retryOf ( ) , 'retried_by' , json_encode ( $ retries ) ) ; } }
Update the retry status of a job's parent.

@param  \Laravel\Horizon\JobPayload  $payload
@param  bool  $failed
@return void
Update the retry status of a job s parent .