original_string: public function hasTimestamps(string $createdAttribute = null, string $updatedAttribute = null): Model
      {
          $this->main['timestamps']        = true;
          $this->main['timestamp_created'] = $createdAttribute ?: 'created_at';
          $this->main['timestamp_updated'] = $updatedAttribute ?: 'updated_at';
  
          return $this;
      }
code: public function hasTimestamps(string $createdAttribute = null, string $updatedAttribute = null): Model
      {
          $this->main['timestamps']        = true;
          $this->main['timestamp_created'] = $createdAttribute ?: 'created_at';
          $this->main['timestamp_updated'] = $updatedAttribute ?: 'updated_at';
  
          return $this;
      }
code_tokens: public function hasTimestamps ( string $ createdAttribute = null , string $ updatedAttribute = null ) : Model { $ this -> main [ 'timestamps' ] = true ; $ this -> main [ 'timestamp_created' ] = $ createdAttribute ? : 'created_at' ; $ this -> main [ 'timestamp_updated' ] = $ updatedAttribute ? : 'updated_at' ; return $ this ; }
docstring: Model has timestamp columns
  
  @param string $createdAttribute  defaults to 'created_at'
  @param string $updatedAttribute  defaults to 'updated_at'
  @return Model|$this
docstring_tokens: Model has timestamp columns