original_string: public function addStyle(Style $style)
      {
          if (!in_array($style, $this->styles, true)) {
              array_push($this->styles, $style);
          }
          return $this;
      }
code: public function addStyle(Style $style)
      {
          if (!in_array($style, $this->styles, true)) {
              array_push($this->styles, $style);
          }
          return $this;
      }
code_tokens: public function addStyle ( Style $ style ) { if ( ! in_array ( $ style , $ this -> styles , true ) ) { array_push ( $ this -> styles , $ style ) ; } return $ this ; }
docstring: Add a new Style
  
  @api
  @param Style $style The Style to be added
  @return static
docstring_tokens: Add a new Style