ReviewOS

also looking at this

meemalabs/meema-client-php

Exceptions

#27
Merged glennmichael123 wants to merge exceptions into main
5 files +168 -14

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/Media.phpmodified+2-2
Changes to src/Models/Media.php
@@ -223,7 +223,7 @@ class Media
223223 *
224224 * @throws InvalidFormatException
225225 */
226 public function makePrivate($id): array
226 public function makePrivate($id)
227227 {
228228 try {
229229 if (! is_int($id)) {
@@ -267,7 +267,7 @@ class Media
267267 *
268268 * @throws InvalidFormatException
269269 */
270 public function duplicate($id): array
270 public function duplicate($id)
271271 {
272272 try {
273273 if (! is_int($id)) {