@@ 41-43 (lines=3) @@ | ||
38 | ||
39 | $allPosts = []; |
|
40 | ||
41 | foreach ($posts as $p) { |
|
42 | array_push($allPosts, [$p, $this->getTags([$p->postid])]); |
|
43 | } |
|
44 | ||
45 | $data = [ |
|
46 | "items" => $this->getUsers(), |
@@ 80-82 (lines=3) @@ | ||
77 | ||
78 | $allPosts = []; |
|
79 | ||
80 | foreach ($posts as $p) { |
|
81 | array_push($allPosts, [$p, $post->getTags([$p->postid])]); |
|
82 | } |
|
83 | ||
84 | $data = [ |
|
85 | "items" => $allPosts, |