KeyValueFormBundle icon indicating copy to clipboard operation
KeyValueFormBundle copied to clipboard

Fix bad method names in README (getclass and get_type)

Open Giorgiolino opened this issue 5 years ago • 0 comments

The getclass($data) call should be rewritten to get_class($data) (cf. https://www.php.net/get-class). The get_type($data) call should be rewritten to gettype($data) (cf. https://www.php.net/gettype)

Otherwise, it would result in the following Fatal Error (for getclass) PHP Fatal error: Uncaught Error: Call to undefined function getclass()

Giorgiolino avatar May 21 '20 08:05 Giorgiolino