Move items in to an subarray named items
This commit is contained in:
1 parent
7c0f6298da
commit
d6ae53bba4
1 file changed
+1
-1
@@ -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'],
|
||||||
|
|||||||
Reference in new issue
Block a user