also looking at this
Media model
#6
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.
| @@ -216,8 +216,10 @@ class Folder | ||
| 216 | 216 | * |
| 217 | 217 | * @return Meema\MeemaApi\Models\Media |
| 218 | 218 | */ |
| 219 | public function media(): Media | |
| 219 | public function media($id = null): Media | |
| 220 | 220 | { |
| 221 | $this->id = $id; | |
| 222 | ||
| 221 | 223 | return (new Media($this->client))->setFolder($this); |
| 222 | 224 | } |
| 223 | 225 | } |