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
No related merge requests found
...@@ -56,7 +56,7 @@ class Zend_Json ...@@ -56,7 +56,7 @@ class Zend_Json
public static function decode($encodedValue, $objectDecodeType = Zend_Json::TYPE_ARRAY) public static function decode($encodedValue, $objectDecodeType = Zend_Json::TYPE_ARRAY)
{ {
if (function_exists('json_decode') && self::$useBuiltinEncoderDecoder !== true) { 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'; require_once 'include/Zend/Json/Decoder.php';
......
...@@ -8,7 +8,8 @@ ...@@ -8,7 +8,8 @@
* All Rights Reserved. * All Rights Reserved.
*************************************************************************************/ *************************************************************************************/
#[\AllowDynamicProperties]
abstract class VTEventHandler{ abstract class VTEventHandler{
public abstract function handleEvent($name, $data); 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