Fixed syntax error and fixed indentation in generate model

Signed-off-by: mamor <mamor.dev@gmail.com>
Merge pull request #163 from mp-php/fix_generate_model

Fixed syntax error and fixed indentation in generate model