original_string: public function stopPrepend()
      {
          if (empty($this->pushStack)) {
              throw new InvalidArgumentException('Cannot end a prepend operation without first starting one.');
          }
  
          return tap(array_pop($this->pushStack), function ($last) {
              $this->extendPrepend($last, ob_get_clean());
          });
      }
code: public function stopPrepend()
      {
          if (empty($this->pushStack)) {
              throw new InvalidArgumentException('Cannot end a prepend operation without first starting one.');
          }
  
          return tap(array_pop($this->pushStack), function ($last) {
              $this->extendPrepend($last, ob_get_clean());
          });
      }
code_tokens: public function stopPrepend ( ) { if ( empty ( $ this -> pushStack ) ) { throw new InvalidArgumentException ( 'Cannot end a prepend operation without first starting one.' ) ; } return tap ( array_pop ( $ this -> pushStack ) , function ( $ last ) { $ this -> extendPrepend ( $ last , ob_get_clean ( ) ) ; } ) ; }
docstring: Stop prepending content into a push section.
  
  @return string
  
  @throws \InvalidArgumentException
docstring_tokens: Stop prepending content into a push section .