Burgov / KeyValueFormBundle

A form type for managing key-value pairs
MIT License
44 stars 32 forks source link

Fix bad method names in README (getclass and get_type) #37

Open Giorgiolino opened 4 years ago

Giorgiolino commented 4 years ago

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()