← All changes
|
src/Framework/Blocks/Exceptions/ReferenceBlockNotFoundException.php
+4
-1
4.16.3
→
4.17.0
View file →
| @@ -9,9 +9,12 @@ | ||
| 9 | 9 | * @since 2.10.2 |
| 10 | 10 | */ |
| 11 | 11 | class ReferenceBlockNotFoundException extends Exception |
| 12 | 12 | { |
| 13 | - public function __construct($name, $code = 0, Exception $previous = null) | |
| 13 | + /** | |
| 14 | + * @since 4.17.0 Declare the nullable parameter explicitly. | |
| 15 | + */ | |
| 16 | + public function __construct($name, $code = 0, ?Exception $previous = null) | |
| 14 | 17 | { |
| 15 | 18 | $message = "Reference block with the name \"$name\" not found - cannot insert new block."; |
| 16 | 19 | parent::__construct($message, $code, $previous); |
| 17 | 20 | } |