SyntaxFix
Write A Post
Hire A Developer
Questions
As Constructor should be at the starting of the Class , you are facing the above issue . So, you can either change the name or if you want to use it as a constructor just copy the method at the beginning of the class.