php-raml2html
php-raml2html copied to clipboard
Fix issue #21. (int)"is" is equal to zero
Faulty condition check only checks for string values. In some cases, $skey
is integer 0, and PHP converts the string "is"
to integer 0 to do an integer conversion, causing this if
check to fail. Following code then dies due to faulty values used for offset.