| @@ -28,8 +28,9 @@ | ||
| 28 | 28 | /** @var BlockCollection */ |
| 29 | 29 | public $innerBlocks; |
| 30 | 30 | |
| 31 | 31 | /** |
| 32 | + * @since 4.17.0 Declare the nullable parameter explicitly. | |
| 32 | 33 | * @since 3.1.0 added innerBlocks sanitization |
| 33 | 34 | * @since 3.0.0 |
| 34 | 35 | * @param string $name |
| 35 | 36 | * @param string $clientId |
| @@ -38,9 +39,9 @@ | ||
| 38 | 39 | * @param BlockCollection|null $innerBlocks |
| 39 | 40 | */ |
| 40 | 41 | public function __construct( |
| 41 | 42 | string $name, |
| 42 | - string $clientId = null, | |
| 43 | + ?string $clientId = null, | |
| 43 | 44 | bool $isValid = true, |
| 44 | 45 | array $attributes = [], |
| 45 | 46 | $innerBlocks = null |
| 46 | 47 | ) { |