PluginProbe
Depicter — Popup & Slider Builder / 1.9.2
Depicter — Popup & Slider Builder v1.9.2
4.8.1 trunk 1.0.0 1.1.0 1.1.2 1.1.4 1.1.6 1.1.7 1.1.8 1.1.9 1.2.0 1.3.0 1.3.1 1.3.2 1.3.3 1.3.5 1.3.8 1.5.0 1.5.1 1.5.2 1.5.5 1.6.0 1.6.1 1.6.2 1.7.0 All 76 releases
← All changes | vendor/psr/http-message/src/ResponseInterface.php +3 -1 1.3.8 → 1.9.2 View file →
@@ -1,6 +1,8 @@
1 1 <?php
2 2
3 +declare(strict_types=1);
4 +
3 5 namespace Psr\Http\Message;
4 6
5 7 /**
6 8 * Representation of an outgoing, server-side response.
@@ -48,9 +50,9 @@
48 50 * use the defaults as suggested in the HTTP specification.
49 51 * @return static
50 52 * @throws \InvalidArgumentException For invalid status code arguments.
51 53 */
52 - public function withStatus($code, $reasonPhrase = '');
54 + public function withStatus(int $code, string $reasonPhrase = '');
53 55
54 56 /**
55 57 * Gets the response reason phrase associated with the status code.
56 58 *