diff options
author | ArthurHoaro <arthur@hoa.ro> | 2020-11-08 15:02:45 +0100 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2020-11-09 10:56:49 +0100 |
commit | b99e00f7cd5f7e2090f44cd97bfb426db55340c2 (patch) | |
tree | 1eea2479c3438c55a9c5c284cc28483fe8dbaf4b /application/Thumbnailer.php | |
parent | 53054b2bf6a919fd4ff9b44b6ad1986f21f488b6 (diff) | |
download | Shaarli-b99e00f7cd5f7e2090f44cd97bfb426db55340c2.tar.gz Shaarli-b99e00f7cd5f7e2090f44cd97bfb426db55340c2.tar.zst Shaarli-b99e00f7cd5f7e2090f44cd97bfb426db55340c2.zip |
Manually fix remaining PHPCS errors
Diffstat (limited to 'application/Thumbnailer.php')
-rw-r--r-- | application/Thumbnailer.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/application/Thumbnailer.php b/application/Thumbnailer.php index 30354310..c4ff8d7a 100644 --- a/application/Thumbnailer.php +++ b/application/Thumbnailer.php | |||
@@ -13,7 +13,7 @@ use WebThumbnailer\WebThumbnailer; | |||
13 | */ | 13 | */ |
14 | class Thumbnailer | 14 | class Thumbnailer |
15 | { | 15 | { |
16 | const COMMON_MEDIA_DOMAINS = [ | 16 | protected const COMMON_MEDIA_DOMAINS = [ |
17 | 'imgur.com', | 17 | 'imgur.com', |
18 | 'flickr.com', | 18 | 'flickr.com', |
19 | 'youtube.com', | 19 | 'youtube.com', |
@@ -31,9 +31,9 @@ class Thumbnailer | |||
31 | 'deviantart.com', | 31 | 'deviantart.com', |
32 | ]; | 32 | ]; |
33 | 33 | ||
34 | const MODE_ALL = 'all'; | 34 | public const MODE_ALL = 'all'; |
35 | const MODE_COMMON = 'common'; | 35 | public const MODE_COMMON = 'common'; |
36 | const MODE_NONE = 'none'; | 36 | public const MODE_NONE = 'none'; |
37 | 37 | ||
38 | /** | 38 | /** |
39 | * @var WebThumbnailer instance. | 39 | * @var WebThumbnailer instance. |