The bad parameter types in the function docs may raise warnings even with the code correct so I changed it to the correct types.
Also, the in_array should use the 3rd parameter (strict compare) as it may give you crazy values:
http://php.net/manual/pt_BR/function.in-array.php#106319
The bad parameter types in the function docs may raise warnings even with the code correct so I changed it to the correct types. Also, the in_array should use the 3rd parameter (strict compare) as it may give you crazy values: http://php.net/manual/pt_BR/function.in-array.php#106319
Discussion: https://github.com/froala/wysiwyg-editor-php-sdk/issues/16