Skip to content

Commit

Permalink
Merge pull request #21 from arnedesmedt/feature/php8.4-remove-depreca…
Browse files Browse the repository at this point in the history
…tion-warnings-explicit-nullable-types

Explicit nullable types
  • Loading branch information
arnedesmedt authored Jan 16, 2025
2 parents 3db2352 + 5285ec0 commit bdba5b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ImmutableRecordLogic.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public static function fromArray(array $nativeData): self
return new self(null, $nativeData);
}

private function __construct(array $recordData = null, array $nativeData = null)
private function __construct(array|null $recordData = null, array|null $nativeData = null)
{
if (null === self::$__propTypeMap) {
self::$__propTypeMap = self::buildPropTypeMap();
Expand Down

0 comments on commit bdba5b0

Please sign in to comment.