original_string: public function dispatchNextJobInChain()
      {
          if (! empty($this->chained)) {
              dispatch(tap(unserialize(array_shift($this->chained)), function ($next) {
                  $next->chained = $this->chained;
  
                  $next->onConnection($next->connection ?: $this->chainConnection);
                  $next->onQueue($next->queue ?: $this->chainQueue);
  
                  $next->chainConnection = $this->chainConnection;
                  $next->chainQueue = $this->chainQueue;
              }));
          }
      }
code: public function dispatchNextJobInChain()
      {
          if (! empty($this->chained)) {
              dispatch(tap(unserialize(array_shift($this->chained)), function ($next) {
                  $next->chained = $this->chained;
  
                  $next->onConnection($next->connection ?: $this->chainConnection);
                  $next->onQueue($next->queue ?: $this->chainQueue);
  
                  $next->chainConnection = $this->chainConnection;
                  $next->chainQueue = $this->chainQueue;
              }));
          }
      }
code_tokens: public function dispatchNextJobInChain ( ) { if ( ! empty ( $ this -> chained ) ) { dispatch ( tap ( unserialize ( array_shift ( $ this -> chained ) ) , function ( $ next ) { $ next -> chained = $ this -> chained ; $ next -> onConnection ( $ next -> connection ? : $ this -> chainConnection ) ; $ next -> onQueue ( $ next -> queue ? : $ this -> chainQueue ) ; $ next -> chainConnection = $ this -> chainConnection ; $ next -> chainQueue = $ this -> chainQueue ; } ) ) ; } }
docstring: Dispatch the next job on the chain.
  
  @return void
docstring_tokens: Dispatch the next job on the chain .