original_string: public function setFlash(Event $event)
      {
          unset($event->getSubject()->params['class']);
          $event->getSubject()->element = ltrim($event->getSubject()->type);
      }
code: public function setFlash(Event $event)
      {
          unset($event->getSubject()->params['class']);
          $event->getSubject()->element = ltrim($event->getSubject()->type);
      }
code_tokens: public function setFlash ( Event $ event ) { unset ( $ event -> getSubject ( ) -> params [ 'class' ] ) ; $ event -> getSubject ( ) -> element = ltrim ( $ event -> getSubject ( ) -> type ) ; }
docstring: Make sure flash messages are properly handled by BootstrapUI.FlashHelper
  
  @param \Cake\Event\Event $event Event.
  @return void
docstring_tokens: Make sure flash messages are properly handled by BootstrapUI . FlashHelper