original_string: protected function sanitize()
      {
          return [
              'slug'      => Str::slug($this->get($this->has('slug') ? 'slug' : 'title', '')),
              'seo_title' => $this->get(empty($this->get('seo_title')) ? 'title' : 'seo_title'),
          ];
      }
code: protected function sanitize()
      {
          return [
              'slug'      => Str::slug($this->get($this->has('slug') ? 'slug' : 'title', '')),
              'seo_title' => $this->get(empty($this->get('seo_title')) ? 'title' : 'seo_title'),
          ];
      }
code_tokens: protected function sanitize ( ) { return [ 'slug' => Str :: slug ( $ this -> get ( $ this -> has ( 'slug' ) ? 'slug' : 'title' , '' ) ) , 'seo_title' => $ this -> get ( empty ( $ this -> get ( 'seo_title' ) ) ? 'title' : 'seo_title' ) , ] ; }
docstring: Sanitize the inputs.
  
  @return array
docstring_tokens: Sanitize the inputs .