Skip to content

Commit

Permalink
php8.3下接口定义变动的提示兼容
Browse files Browse the repository at this point in the history
  • Loading branch information
kiss291323003 committed Mar 19, 2024
1 parent 365679d commit bc90f12
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/SplArray.php
Original file line number Diff line number Diff line change
Expand Up @@ -123,12 +123,13 @@ public function multiple(): SplArray
}


#[\ReturnTypeWillChange]
public function asort($flags = SORT_REGULAR): bool
{
return parent::asort($flags);
}


#[\ReturnTypeWillChange]
public function ksort($flags = SORT_REGULAR): bool
{
return parent::ksort($flags);
Expand Down

0 comments on commit bc90f12

Please sign in to comment.