protected function shouldBeFailed(): bool
    {
        if ($this->attempts() > 3 && $this->job) {
            $this->fail(null);

            return true;
        }

        return false;
    }
protected function shouldBeFailed(): bool
    {
        if ($this->attempts() > 3 && $this->job) {
            $this->fail(null);

            return true;
        }

        return false;
    }
protected function shouldBeFailed ( ) : bool { if ( $ this -> attempts ( ) > 3 && $ this -> job ) { $ this -> fail ( null ) ; return true ; } return false ; }
Should the job be failed.

@return bool
Should the job be failed .