fmt
This commit is contained in:
@ -224,7 +224,9 @@ if(class_exists("\\PHPUnit\\Framework\\TestCase")) {
|
||||
"tags" => Tag::explode($tags),
|
||||
"source" => null,
|
||||
]));
|
||||
if(count($dae->images) == 0) throw new \Exception("Upload failed :(");
|
||||
if(count($dae->images) == 0) {
|
||||
throw new \Exception("Upload failed :(");
|
||||
}
|
||||
return $dae->images[0]->id;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user