original_string: private function flushBuffer(): void
      {
          if (null !== $this->passthruLevel) {
              $level = $this->passthruLevel;
              $this->buffer = array_filter($this->buffer, function ($record) use ($level) {
                  return $record['level'] >= $level;
              });
              if (count($this->buffer) > 0) {
                  $this->handler->handleBatch($this->buffer);
              }
          }
  
          $this->buffer = [];
          $this->buffering = true;
      }
code: private function flushBuffer(): void
      {
          if (null !== $this->passthruLevel) {
              $level = $this->passthruLevel;
              $this->buffer = array_filter($this->buffer, function ($record) use ($level) {
                  return $record['level'] >= $level;
              });
              if (count($this->buffer) > 0) {
                  $this->handler->handleBatch($this->buffer);
              }
          }
  
          $this->buffer = [];
          $this->buffering = true;
      }
code_tokens: private function flushBuffer ( ) : void { if ( null !== $ this -> passthruLevel ) { $ level = $ this -> passthruLevel ; $ this -> buffer = array_filter ( $ this -> buffer , function ( $ record ) use ( $ level ) { return $ record [ 'level' ] >= $ level ; } ) ; if ( count ( $ this -> buffer ) > 0 ) { $ this -> handler -> handleBatch ( $ this -> buffer ) ; } } $ this -> buffer = [ ] ; $ this -> buffering = true ; }
docstring: Resets the state of the handler. Stops forwarding records to the wrapped handler.
docstring_tokens: Resets the state of the handler . Stops forwarding records to the wrapped handler .