ReviewOS

also looking at this

meemalabs/meema-client-php

fix: Only use uuid for media and check for validity

#78
Merged glennmichael123 wants to merge media-uuid into main
11 files +65 -32
src/Exceptions/InvalidFormatException.phpmodified+4-2
Changes to src/Exceptions/InvalidFormatException.php
@@ -13,7 +13,9 @@ class InvalidFormatException extends Exception
1313 */
1414 public function __construct(string $message = null)
1515 {
16 parent::__construct($message ?? 'Error on line '.$this->getLine().' in '.$this->getFile()
17 .' ID is not a valid integer');
16 $customMessage = $message ? " {$message}" : ' ID is not a valid integer';
17
18 parent::__construct('Error on line '.$this->getLine().' in '.$this->getFile()
19 .$customMessage);
1820 }
1921}