Skip to content

Commit 850f90b

Browse files
author
Michael Christopher
committed
Return objects, not arrays
1 parent 6e382cf commit 850f90b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Services/Zencoder/Notifications.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class Services_Zencoder_Notifications extends Services_Zencoder_Base
1919
*/
2020
public function parseIncoming()
2121
{
22-
$incoming_data = json_decode(trim(file_get_contents('php://input')), true);
22+
$incoming_data = json_decode(trim(file_get_contents('php://input')));
2323
if (!$incoming_data) {
2424
throw new Services_Zencoder_Exception(
2525
'Unable to parse notification data: ' . file_get_contents('php://input'));

0 commit comments

Comments
 (0)