summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-11-10 21:00:32 +0300
committerAndrew Dolgov <[email protected]>2021-11-10 21:00:32 +0300
commit39d5ed40c5de4da260cc693e1a3c066c4bb36b90 (patch)
tree153e80018c3a2855ae839ca5934bd5b00f70f73f
parentb5a956422a497b560c8645d6828e638ffe4f1ae4 (diff)
silence phpstan 1.0 warnings
-rw-r--r--init.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/init.php b/init.php
index 64a37ad..894d87e 100644
--- a/init.php
+++ b/init.php
@@ -204,6 +204,7 @@ class Api_Resize_Media extends Plugin {
$force_stamp,
$quality);
+ // @phpstan-ignore-next-line
if ($this->cache->exists($resized_filename)) {
header("Location: " . $this->cache->get_url($resized_filename));
return;
@@ -232,6 +233,7 @@ class Api_Resize_Media extends Plugin {
$force_stamp,
$quality);
+ // @phpstan-ignore-next-line
if ($this->cache->exists($resized_filename)) {
header("Location: " . $this->cache->get_url($resized_filename));
return;