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