Luracast/Restler — Issue #13: PHP Warning raised with classname=methodname without prefix
Author: eduh
Created: 2011-10-23 13:44:31+00:00
State: open

Hi
Having this class and using a get request like http://localhost/rest/luracrest/app/test/test/1 this raises a php warning :
Warning: Missing argument 1 for Test::Test(), called in D:\phptools\rest\luracrest\restler\restler.php on line 341 etcetera. When i rename method 'Test' to 'getTest' or 'myTest' the warning dissapears. No big issue but perhaps it's a little bug