JsonUtils icon indicating copy to clipboard operation
JsonUtils copied to clipboard

Generated PHP Classes Type Comments

Open jjkaufman opened this issue 6 years ago • 3 comments

When generating php classes, the type is put as a trailing comment next to the field.

screen shot 2018-10-31 at 5 10 24 pm

I think it'd make sense to switch this to phpdoc comments as it is used in many IDEs + documentation generation tools

https://docs.phpdoc.org/references/phpdoc/basic-syntax.html

screen shot 2018-10-31 at 5 12 19 pm

jjkaufman avatar Nov 01 '18 00:11 jjkaufman

If people like the idea, I'd happily implement. Love the tool 💯

jjkaufman avatar Nov 01 '18 00:11 jjkaufman

Hey! I think the tool need a little hotfix, at the end of each generated class need the ; <-- to end class, bye.

devexemmanuelcontreras avatar Nov 05 '18 20:11 devexemmanuelcontreras

@jjkaufman good idea.

@devexdiegomendoza already exists a pull request to fix this #36

ionixjunior avatar Nov 21 '18 13:11 ionixjunior