@@ 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(), |
@@ 100-102 (lines=3) @@ | ||
97 | ||
98 | $allPosts = []; |
|
99 | ||
100 | foreach ($posts as $p) { |
|
101 | array_push($allPosts, [$p, $post->getTags([$p->postid])]); |
|
102 | } |
|
103 | ||
104 | $data = [ |
|
105 | "items" => $allPosts, |