Model offsetGet($offset) warning.

2 views
Skip to first unread message

Migs A

unread,
May 23, 2016, 9:22:48 AM5/23/16
to Swagger

I generated a Swagger - PHP server side and I noticed that some of my end-points works okay, but some are not because of the offsetGet($offset) in the models. Looks like I need to add a check (adding isset) that looks like this "return isset($this->offset));" which I don't want to do that (modifying Swagger generated code).

Anyone having the same issue?

Reply all
Reply to author
Forward
0 new messages