From: Tim Düsterhus Date: Tue, 10 Aug 2021 14:06:04 +0000 (+0200) Subject: Add missing `@since` tags for PSR-7 methods X-Git-Tag: 5.5.0_Alpha_1~493^2~4 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5c035d230bad1392144cca88105b473d536c6dcb;p=GitHub%2FWoltLab%2FWCF.git Add missing `@since` tags for PSR-7 methods --- diff --git a/wcfsetup/install/files/lib/form/ReauthenticationForm.class.php b/wcfsetup/install/files/lib/form/ReauthenticationForm.class.php index 3fbbd1b75d..6a90c62b61 100644 --- a/wcfsetup/install/files/lib/form/ReauthenticationForm.class.php +++ b/wcfsetup/install/files/lib/form/ReauthenticationForm.class.php @@ -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 { diff --git a/wcfsetup/install/files/lib/page/AbstractPage.class.php b/wcfsetup/install/files/lib/page/AbstractPage.class.php index 6a62edd0fb..51c738a240 100644 --- a/wcfsetup/install/files/lib/page/AbstractPage.class.php +++ b/wcfsetup/install/files/lib/page/AbstractPage.class.php @@ -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 {