@@ -1191,10 +1191,10 @@ discard block |
||
| 1191 | 1191 | * |
| 1192 | 1192 | * @link https://tools.ietf.org/html/rfc3986#section-5.3 |
| 1193 | 1193 | * |
| 1194 | - * @param ?string $scheme |
|
| 1195 | - * @param ?string $authority |
|
| 1196 | - * @param ?string $query |
|
| 1197 | - * @param ?string $fragment |
|
| 1194 | + * @param string|null $scheme |
|
| 1195 | + * @param string|null $authority |
|
| 1196 | + * @param string|null $query |
|
| 1197 | + * @param string|null $fragment |
|
| 1198 | 1198 | */ |
| 1199 | 1199 | private function getUriString( |
| 1200 | 1200 | ?string $scheme, |
@@ -1330,6 +1330,7 @@ discard block |
||
| 1330 | 1330 | |
| 1331 | 1331 | /** |
| 1332 | 1332 | * {@inheritDoc} |
| 1333 | + * @param string|null $scheme |
|
| 1333 | 1334 | */ |
| 1334 | 1335 | public function withScheme($scheme): UriInterface |
| 1335 | 1336 | { |
@@ -1378,6 +1379,8 @@ discard block |
||
| 1378 | 1379 | |
| 1379 | 1380 | /** |
| 1380 | 1381 | * {@inheritDoc} |
| 1382 | + * @param string|null $user |
|
| 1383 | + * @param string $password |
|
| 1381 | 1384 | */ |
| 1382 | 1385 | public function withUserInfo($user, $password = null): UriInterface |
| 1383 | 1386 | { |
@@ -1405,6 +1408,7 @@ discard block |
||
| 1405 | 1408 | |
| 1406 | 1409 | /** |
| 1407 | 1410 | * {@inheritDoc} |
| 1411 | + * @param string|null $host |
|
| 1408 | 1412 | */ |
| 1409 | 1413 | public function withHost($host): UriInterface |
| 1410 | 1414 | { |
@@ -1423,6 +1427,7 @@ discard block |
||
| 1423 | 1427 | |
| 1424 | 1428 | /** |
| 1425 | 1429 | * {@inheritDoc} |
| 1430 | + * @param null|integer $port |
|
| 1426 | 1431 | */ |
| 1427 | 1432 | public function withPort($port): UriInterface |
| 1428 | 1433 | { |
@@ -1441,6 +1446,7 @@ discard block |
||
| 1441 | 1446 | |
| 1442 | 1447 | /** |
| 1443 | 1448 | * {@inheritDoc} |
| 1449 | + * @param string $path |
|
| 1444 | 1450 | */ |
| 1445 | 1451 | public function withPath($path): UriInterface |
| 1446 | 1452 | { |
@@ -1463,6 +1469,7 @@ discard block |
||
| 1463 | 1469 | |
| 1464 | 1470 | /** |
| 1465 | 1471 | * {@inheritDoc} |
| 1472 | + * @param string|null $query |
|
| 1466 | 1473 | */ |
| 1467 | 1474 | public function withQuery($query): UriInterface |
| 1468 | 1475 | { |
@@ -1480,6 +1487,7 @@ discard block |
||
| 1480 | 1487 | |
| 1481 | 1488 | /** |
| 1482 | 1489 | * {@inheritDoc} |
| 1490 | + * @param string|null $fragment |
|
| 1483 | 1491 | */ |
| 1484 | 1492 | public function withFragment($fragment): UriInterface |
| 1485 | 1493 | { |