Skip to content

Commit 241efa0

Browse files
authored
Actions array was undefined so when it remains empty it generates a undefined key warning (#17)
1 parent f765344 commit 241efa0

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

php/src/PageletResponse.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@
1313

1414
class PageletResponse implements JsonSerializable
1515
{
16-
private $_data = [];
16+
private $_data = [
17+
'actions' => []
18+
];
1719

1820
public static function i()
1921
{

0 commit comments

Comments
 (0)