original_string: public function getConstraints()
      {
          if ($this->relation instanceof HasMany) {
              return [
                  $this->relation->getForeignKeyName() => $this->relation->getParentKey(),
              ];
          }
  
          return false;
      }
code: public function getConstraints()
      {
          if ($this->relation instanceof HasMany) {
              return [
                  $this->relation->getForeignKeyName() => $this->relation->getParentKey(),
              ];
          }
  
          return false;
      }
code_tokens: public function getConstraints ( ) { if ( $ this -> relation instanceof HasMany ) { return [ $ this -> relation -> getForeignKeyName ( ) => $ this -> relation -> getParentKey ( ) , ] ; } return false ; }
docstring: Get constraints.
  
  @return array|bool
docstring_tokens: Get constraints .