ReviewOS

also looking at this

meemalabs/meema-client-php

Media model

#6
Merged glennmichael123 wants to merge media-model into main
7 files +1700 -76

Review threads live on the whole diff, not on one commit, so none are shown here - a thread's line means something in the branch's final form, and painting it into an intermediate step would put it on code it is not about.

src/Models/Folder.phpmodified+3-1
Changes to src/Models/Folder.php
@@ -216,8 +216,10 @@ class Folder
216216 *
217217 * @return Meema\MeemaApi\Models\Media
218218 */
219 public function media(): Media
219 public function media($id = null): Media
220220 {
221 $this->id = $id;
222
221223 return (new Media($this->client))->setFolder($this);
222224 }
223225}