Everywhere yoda conditions are
This commit is contained in:
1 parent
d74f6d1a53
commit
be0ab98895
213 files changed
+691
-412
No files matched your search
@@ -31,6 +31,7 @@ class Screenshot {
|
||||
public static function api_url($domain): string {
|
||||
return 'https://image.thum.io/get/' . $domain;
|
||||
}
|
||||
|
||||
/**
|
||||
* Takes in a URL and creates it as an attachment.
|
||||
*
|
||||
@@ -45,6 +46,7 @@ class Screenshot {
|
||||
|
||||
return self::save_image_from_url($url);
|
||||
}
|
||||
|
||||
/**
|
||||
* Downloads the image from the URL.
|
||||
*
|
||||
|
||||
Reference in new issue
Block a user