original_string: private function isOneToMany($primaryKey, $foreignKey, $modelTablePrimary)
      {
          if ($foreignKey->foreignField == $modelTablePrimary) {
              if ($foreignKey->localField != $primaryKey) {
                  return true;
              }
          }
  
          return false;
      }
code: private function isOneToMany($primaryKey, $foreignKey, $modelTablePrimary)
      {
          if ($foreignKey->foreignField == $modelTablePrimary) {
              if ($foreignKey->localField != $primaryKey) {
                  return true;
              }
          }
  
          return false;
      }
code_tokens: private function isOneToMany ( $ primaryKey , $ foreignKey , $ modelTablePrimary ) { if ( $ foreignKey -> foreignField == $ modelTablePrimary ) { if ( $ foreignKey -> localField != $ primaryKey ) { return true ; } } return false ; }
docstring: Detects if one to many relationship is there
  If foreign key of table is primary key of foreign table
  Also foreign key field is not primary key of this table.
  
  @param string              $primaryKey
  @param GeneratorForeignKey $foreignKey
  @param string              $modelTablePrimary
  
  @return bool
docstring_tokens: Detects if one to many relationship is there If foreign key of table is primary key of foreign table Also foreign key field is not primary key of this table .