Skip to content

Commit

Permalink
Fixed stylish (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
SmetDenis authored Jul 8, 2023
1 parent c21704f commit adf1be0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AliasesTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ public function getSelf(string $key, array|self $default = []): self
* @psalm-suppress UnsafeInstantiation
* @psalm-suppress ImplicitToStringCast
*/
public function getSelfNull(string $key, array|self $default = null): ?self
public function getSelfNull(string $key, array|self|null $default = null): ?self
{
if (!$this->has($key)) {
// @phpstan-ignore-next-line
Expand Down

0 comments on commit adf1be0

Please sign in to comment.