Luracast / Restler

Simple and effective multi-format Web API Server to host your PHP API as Pragmatic REST and/or RESTful API
http://luracast.com/products/restler/
GNU Lesser General Public License v2.1
1.36k stars 315 forks source link

Wrong variable self::$encoderFunctionName instead of self::$stringEncoderFunction used #695

Closed DirkGerigk closed 8 months ago

DirkGerigk commented 8 months ago

Hi,

https://github.com/Luracast/Restler/blob/dde49c566e5bb4266634ef2748c79747134d8c4e/src/Data/Obj.php#L124

should be the same as here

https://github.com/Luracast/Restler/blob/dde49c566e5bb4266634ef2748c79747134d8c4e/src/Data/Obj.php#L89

Also this line is missing an return

https://github.com/Luracast/Restler/blob/dde49c566e5bb4266634ef2748c79747134d8c4e/src/Data/Obj.php#L139

Arul- commented 8 months ago

Thanks for pointing it out!