Add `#[\Override]` to LegacyPlaceholderResponse
authorTim Düsterhus <duesterhus@woltlab.com>
Tue, 5 Sep 2023 15:29:21 +0000 (17:29 +0200)
committerTim Düsterhus <duesterhus@woltlab.com>
Tue, 5 Sep 2023 15:29:54 +0000 (17:29 +0200)
wcfsetup/install/files/lib/http/LegacyPlaceholderResponse.class.php

index 8a9685743d075164a277374b50cc8ac6a341d3d6..0fdbd102d7e622f74cde5b4edfe3120f9453d959 100644 (file)
@@ -30,71 +30,85 @@ final class LegacyPlaceholderResponse implements ResponseInterface
         ));
     }
 
+    #[\Override]
     public function getStatusCode(): never
     {
         $this->throwException();
     }
 
+    #[\Override]
     public function withStatus(int $code, string $reasonPhrase = ''): never
     {
         $this->throwException();
     }
 
+    #[\Override]
     public function getReasonPhrase(): never
     {
         $this->throwException();
     }
 
+    #[\Override]
     public function getProtocolVersion(): never
     {
         $this->throwException();
     }
 
+    #[\Override]
     public function withProtocolVersion(string $version): never
     {
         $this->throwException();
     }
 
+    #[\Override]
     public function getHeaders(): never
     {
         $this->throwException();
     }
 
+    #[\Override]
     public function hasHeader(string $name): never
     {
         $this->throwException();
     }
 
+    #[\Override]
     public function getHeader(string $name): never
     {
         $this->throwException();
     }
 
+    #[\Override]
     public function getHeaderLine(string $name): never
     {
         $this->throwException();
     }
 
+    #[\Override]
     public function withHeader(string $name, $value): never
     {
         $this->throwException();
     }
 
+    #[\Override]
     public function withAddedHeader(string $name, $value): never
     {
         $this->throwException();
     }
 
+    #[\Override]
     public function withoutHeader(string $name): never
     {
         $this->throwException();
     }
 
+    #[\Override]
     public function getBody(): never
     {
         $this->throwException();
     }
 
+    #[\Override]
     public function withBody(StreamInterface $body): never
     {
         $this->throwException();