Add missing `@since` tags for PSR-7 methods
authorTim Düsterhus <duesterhus@woltlab.com>
Tue, 10 Aug 2021 14:06:04 +0000 (16:06 +0200)
committerTim Düsterhus <duesterhus@woltlab.com>
Tue, 10 Aug 2021 14:06:04 +0000 (16:06 +0200)
wcfsetup/install/files/lib/form/ReauthenticationForm.class.php
wcfsetup/install/files/lib/page/AbstractPage.class.php

index 3fbbd1b75deaed0fe0ae981b89ab5dfbfd386d4d..6a90c62b6149de89f8fb4552e595e58798ff655b 100644 (file)
@@ -112,6 +112,7 @@ class ReauthenticationForm extends AbstractFormBuilderForm
      * Returns a response redirecting to the redirectUrl.
      *
      * @see ReauthenticationForm::$redirectUrl
+     * @since 5.5
      */
     protected function getRedirectResponse(): ResponseInterface
     {
index 6a62edd0fb19fa5917c5a28add01785ab3fe2aff..51c738a2408771011253c23a41f29eda73d55bdb 100644 (file)
@@ -108,6 +108,7 @@ abstract class AbstractPage implements IPage
 
     /**
      * @var ?ResponseInterface
+     * @since 5.5
      */
     private $psr7Response;
 
@@ -444,6 +445,7 @@ abstract class AbstractPage implements IPage
      * Calls setResponse() if the parameter implements the ResponseInterface.
      *
      * @see AbstractPage::setPsr7Response()
+     * @since 5.5
      */
     final protected function maybeSetPsr7Response($response): void
     {
@@ -456,6 +458,8 @@ abstract class AbstractPage implements IPage
      * Sets the PSR-7 response to return. Processing will be aborted after
      * readParameters(), readData() or show() if the response is non-null
      * and the response will be returned to the RequestHandler.
+     *
+     * @since 5.5
      */
     final protected function setPsr7Response(?ResponseInterface $response): void
     {
@@ -466,6 +470,7 @@ abstract class AbstractPage implements IPage
      * Returns the current response as set using setResponse().
      *
      * @see AbstractPage::setPsr7Response()
+     * @since 5.5
      */
     final protected function getPsr7Response(): ?ResponseInterface
     {
@@ -477,6 +482,7 @@ abstract class AbstractPage implements IPage
      *
      * @see AbstractPage::getPsr7Response()
      * @see AbstractPage::setPsr7Response()
+     * @since 5.5
      */
     final protected function hasPsr7Response(): bool
     {