Fixed "implicitly marking parameter as nullable" deprecations in PHP 8.4 fixed

This commit is contained in:
Jan Böhmer 2025-02-08 00:19:20 +01:00
parent d94c4af1be
commit b724b05de6
31 changed files with 50 additions and 50 deletions

View file

@ -1221,7 +1221,7 @@ class OEMSecretsProvider implements InfoProviderInterface
* - 'value_min' => string|null The minimum value in a range, if applicable.
* - 'value_max' => string|null The maximum value in a range, if applicable.
*/
private function customSplitIntoValueAndUnit(string $value1, string $value2 = null): array
private function customSplitIntoValueAndUnit(string $value1, ?string $value2 = null): array
{
// Separate numbers and units (basic parsing handling)
$unit = null;