From d6ae53bba4f3e2bc0e144249d655e42b5a1d774b Mon Sep 17 00:00:00 2001 From: Mathias Palmqvist Date: Fri, 30 Sep 2022 15:36:51 +0100 Subject: [PATCH] Move items in to an subarray named items --- src/LaravelCisionFeed.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/LaravelCisionFeed.php b/src/LaravelCisionFeed.php index 783d4eb..6547474 100644 --- a/src/LaravelCisionFeed.php +++ b/src/LaravelCisionFeed.php @@ -128,7 +128,7 @@ class LaravelCisionFeed $return = []; foreach ($rows['channel']['item'] as $row) { - $return[] = [ + $return['items'][] = [ 'guid' => $row['guid'], 'title' => $row['title'], 'description' => $row['description'],