mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-11-27 19:06:23 +08:00
Applied phpcs findings
This commit is contained in:
parent
67e0c3d2a5
commit
71b6f09128
|
@ -357,7 +357,8 @@ class ImageService extends UploadService
|
||||||
if ($err) {
|
if ($err) {
|
||||||
throw new \Exception("Image fetch failed, Received error: " . $err);
|
throw new \Exception("Image fetch failed, Received error: " . $err);
|
||||||
}
|
}
|
||||||
} catch (\Exception $e) {}
|
} catch (\Exception $e) {
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($imageData === null) {
|
if ($imageData === null) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user