original_string: public function getAttributes():array
      {
          $attributes = $this->attributes;
          if ($this->cssClasses) {
              $attributes['class'] = implode(' ', array_keys($this->cssClasses));
          }
          if ($this->styles) {
              $attributes['style'] = implode(';', $this->styles);
          }
          return $attributes;
      }
code: public function getAttributes():array
      {
          $attributes = $this->attributes;
          if ($this->cssClasses) {
              $attributes['class'] = implode(' ', array_keys($this->cssClasses));
          }
          if ($this->styles) {
              $attributes['style'] = implode(';', $this->styles);
          }
          return $attributes;
      }
code_tokens: public function getAttributes ( ) : array { $ attributes = $ this -> attributes ; if ( $ this -> cssClasses ) { $ attributes [ 'class' ] = implode ( ' ' , array_keys ( $ this -> cssClasses ) ) ; } if ( $ this -> styles ) { $ attributes [ 'style' ] = implode ( ';' , $ this -> styles ) ; } return $ attributes ; }
docstring: Attributes with values
  @return array
docstring_tokens: Attributes with values