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/ServerRequestInterface.php +5 -3 1.3.0 → 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 incoming, server-side HTTP request.
@@ -223,9 +225,9 @@
223 225 * @param string $name The attribute name.
224 226 * @param mixed $default Default value to return if the attribute does not exist.
225 227 * @return mixed
226 228 */
227 - public function getAttribute($name, $default = null);
229 + public function getAttribute(string $name, $default = null);
228 230
229 231 /**
230 232 * Return an instance with the specified derived request attribute.
231 233 *
@@ -240,9 +242,9 @@
240 242 * @param string $name The attribute name.
241 243 * @param mixed $value The value of the attribute.
242 244 * @return static
243 245 */
244 - public function withAttribute($name, $value);
246 + public function withAttribute(string $name, $value);
245 247
246 248 /**
247 249 * Return an instance that removes the specified derived request attribute.
248 250 *
@@ -256,6 +258,6 @@
256 258 * @see getAttributes()
257 259 * @param string $name The attribute name.
258 260 * @return static
259 261 */
260 - public function withoutAttribute($name);
262 + public function withoutAttribute(string $name);
261 263 }