| @@ -16,11 +16,12 @@ | ||
| 16 | 16 | */ |
| 17 | 17 | public $expiration; |
| 18 | 18 | |
| 19 | 19 | /** |
| 20 | + * @since 4.17.0 Declare the nullable parameter explicitly. | |
| 20 | 21 | * @since 3.0.0 |
| 21 | 22 | */ |
| 22 | - public function __construct(string $name, string $expiration = null) | |
| 23 | + public function __construct(string $name, ?string $expiration = null) | |
| 23 | 24 | { |
| 24 | 25 | $this->expiration = $expiration ?: $this->createExpirationTimestamp(); |
| 25 | 26 | $this->signature = $this->generateSignatureString($name, $this->expiration); |
| 26 | 27 | } |