| @@ 81-83 (lines=3) @@ | ||
| 78 | ||
| 79 | $allPosts = []; |
|
| 80 | ||
| 81 | foreach ($posts as $p) { |
|
| 82 | array_push($allPosts, [$p, $post->getTags([$p->postid])]); |
|
| 83 | } |
|
| 84 | ||
| 85 | $data = [ |
|
| 86 | "items" => $allPosts, |
|
| @@ 71-73 (lines=3) @@ | ||
| 68 | ||
| 69 | $allPosts = []; |
|
| 70 | ||
| 71 | foreach ($posts as $p) { |
|
| 72 | array_push($allPosts, [$p, $this->getTags([$p->postid])]); |
|
| 73 | } |
|
| 74 | ||
| 75 | $data = [ |
|
| 76 | "items" => $this->getUsers(), |
|