Generated PhP doesn't follow PhP method overloading standards #991

Open
AdamBJ opened this Issue Feb 5, 2017 · 0 comments

Projects

None yet

1 participant

@AdamBJ
Contributor
AdamBJ commented Feb 5, 2017

Brief Description

PhP shouldn't allow any method overriding since it relies on method names alone for method signatures. However, Umple is allowing method overriding as long as the function parameter types are different.

Minimum Steps to Reproduce

Use the following to generate PhP in Umple online:

class C
{  
  a(String input)
  {
  }
  a(Integer input)
  {
  }

}

It should produce an error, but doesn't.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment