Skip to content
Snippets Groups Projects
Commit d48113d6 authored by Prasad's avatar Prasad
Browse files

E_ALL - fixes

parent 970660a2
No related branches found
No related tags found
2 merge requests!1233E_ALL fixes across modules for PHP 8.x,!1194Master
......@@ -56,7 +56,7 @@ class Zend_Json
public static function decode($encodedValue, $objectDecodeType = Zend_Json::TYPE_ARRAY)
{
if (function_exists('json_decode') && self::$useBuiltinEncoderDecoder !== true) {
return json_decode($encodedValue, $objectDecodeType);
return $encodedValue != null ? json_decode($encodedValue, $objectDecodeType) : $encodedValue;
}
require_once 'include/Zend/Json/Decoder.php';
......
......@@ -8,7 +8,8 @@
* All Rights Reserved.
*************************************************************************************/
#[\AllowDynamicProperties]
abstract class VTEventHandler{
public abstract function handleEvent($name, $data);
}
?>
\ No newline at end of file
?>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment