Move items in to an subarray named items

This commit is contained in:
mathiaspalmqvist committed 2022-09-30 15:36:51 +01:00
1 parent 7c0f6298da
commit d6ae53bba4
1 file changed
+1 -1
+1 -1
View File
@@ -128,7 +128,7 @@ class LaravelCisionFeed
$return = []; $return = [];
foreach ($rows['channel']['item'] as $row) { foreach ($rows['channel']['item'] as $row) {
$return[] = [ $return['items'][] = [
'guid' => $row['guid'], 'guid' => $row['guid'],
'title' => $row['title'], 'title' => $row['title'],
'description' => $row['description'], 'description' => $row['description'],