Remove the faulty `Override` attribute on the constructor
authorAlexander Ebert <ebert@woltlab.com>
Fri, 2 Aug 2024 09:59:42 +0000 (11:59 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Fri, 2 Aug 2024 09:59:42 +0000 (11:59 +0200)
wcfsetup/install/files/lib/system/image/adapter/exception/ImageNotProcessable.class.php
wcfsetup/install/files/lib/system/image/adapter/exception/ImageNotReadable.class.php

index 99eb4f75697a71b2e592fe91609a86e6b71928a5..8f63b117150235ca5e0d68542f05dd6f41a98a8e 100644 (file)
@@ -13,7 +13,6 @@ namespace wcf\system\image\adapter\exception;
  */
 final class ImageNotProcessable extends \Exception
 {
-    #[\Override]
     public function __construct(string $filename, ?\Throwable $previous = null)
     {
         parent::__construct("The image '{$filename}' cannot be processed.", previous: $previous);
index 1e580a4dc9cc0eda6176cc0bc943b6a73b31f953..b22c1388fde9e09027b40905044edb03ef9c43a6 100644 (file)
@@ -12,7 +12,6 @@ namespace wcf\system\image\adapter\exception;
  */
 final class ImageNotReadable extends \Exception
 {
-    #[\Override]
     public function __construct(string $filename, ?\Throwable $previous = null)
     {
         parent::__construct("The image '{$filename}' does not exist or cannot be accessed.", previous: $previous);