Streamline the PSR-7/PSR-15 terminology
authorTim Düsterhus <duesterhus@woltlab.com>
Thu, 8 Dec 2022 16:18:37 +0000 (17:18 +0100)
committerTim Düsterhus <duesterhus@woltlab.com>
Thu, 8 Dec 2022 16:19:07 +0000 (17:19 +0100)
ts/WoltLabSuite/Core/Ajax/Backend.ts
ts/WoltLabSuite/Core/Component/FormBuilder/Setup.ts
wcfsetup/install/files/js/WoltLabSuite/Core/Ajax/Backend.js
wcfsetup/install/files/js/WoltLabSuite/Core/Component/FormBuilder/Setup.js
wcfsetup/install/files/lib/action/NotificationConfirmAction.class.php

index 5002bba86ed0a102af4a69148e99c4f84f53b0fc..33b70f82074ec2b4b951122583cc6030671d169a 100644 (file)
@@ -1,5 +1,5 @@
 /**
- * Promise-based API to interact with PSR-7 controllers.
+ * Promise-based API to interact with PSR-15 controllers.
  *
  * @author Alexander Ebert
  * @copyright 2001-2022 WoltLab GmbH
index 37c1b8b06861a55992713972f365e1ab55a9d1b5..a025ac76800a2d873c7da54573df137906545a98 100644 (file)
@@ -1,5 +1,5 @@
 /**
- * Promise-based API to use the Form Builder API with PSR-7 controllers.
+ * Promise-based API to use the Form Builder API with PSR-15 controllers.
  *
  * @author Alexander Ebert
  * @copyright 2001-2022 WoltLab GmbH
index 1898f01679f71e38b448e99fed89d758f715714b..eeee962c918067979efc374abdcb7b2a6ff5ac0e 100644 (file)
@@ -1,5 +1,5 @@
 /**
- * Promise-based API to interact with PSR-7 controllers.
+ * Promise-based API to interact with PSR-15 controllers.
  *
  * @author Alexander Ebert
  * @copyright 2001-2022 WoltLab GmbH
index 970c933243270dd311d1318a522a7e1087a00cd4..c4923445b6f90ae62d2028088bd6dca13a330b2e 100644 (file)
@@ -1,5 +1,5 @@
 /**
- * Promise-based API to use the Form Builder API with PSR-7 controllers.
+ * Promise-based API to use the Form Builder API with PSR-15 controllers.
  *
  * @author Alexander Ebert
  * @copyright 2001-2022 WoltLab GmbH
index b254fd5f4c35541ff8d1cfd7a692f7f2c008a061..5f22f66f35566f396646a974fd40a4c0d5f8d221 100644 (file)
@@ -101,7 +101,7 @@ final class NotificationConfirmAction extends AbstractAction
         );
 
         // The notification link can be `null` (e.g. for some moderation notifications).
-        // This would trigger an exception further in the code, because the PSR7 redirect response
+        // This would trigger an exception further in the code, because Laminas' RedirectResponse
         // expect a real URL. For this reason, we rewrite `null` with a link to the NotificationListPage.
         $link = $notificationEvent->getLink();
         if ($link === null) {