Skip to content

Commit

Permalink
Make compatible with 8.2 ArrayIterator interface updates
Browse files Browse the repository at this point in the history
  • Loading branch information
oojacoboo committed Dec 11, 2023
1 parent 8d22484 commit ab7b43a
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions src/Propel/Runtime/Collection/CollectionIterator.php
Original file line number Diff line number Diff line change
Expand Up @@ -248,8 +248,9 @@ public function append($value): void
/**
* @param int $flags Not used
*
* @return bool
* @return true
*/
#[\ReturnTypeWillChange]
public function asort(int $flags = SORT_REGULAR): bool
{
parent::asort();
Expand All @@ -261,8 +262,9 @@ public function asort(int $flags = SORT_REGULAR): bool
/**
* @param int $flags Not used
*
* @return bool
* @return true
*/
#[\ReturnTypeWillChange]
public function ksort(int $flags = SORT_REGULAR): bool
{
parent::ksort();
Expand All @@ -274,8 +276,9 @@ public function ksort(int $flags = SORT_REGULAR): bool
/**
* @param callable $callback
*
* @return bool
* @return true
*/
#[\ReturnTypeWillChange]
public function uasort($callback): bool
{
parent::uasort($callback);
Expand All @@ -287,8 +290,9 @@ public function uasort($callback): bool
/**
* @param callable $callback
*
* @return bool
* @return true
*/
#[\ReturnTypeWillChange]
public function uksort($callback): bool
{
parent::uksort($callback);
Expand All @@ -298,8 +302,9 @@ public function uksort($callback): bool
}

/**
* @return bool
* @return true
*/
#[\ReturnTypeWillChange]
public function natsort(): bool
{
parent::natsort();
Expand All @@ -309,8 +314,9 @@ public function natsort(): bool
}

/**
* @return bool
* @return true
*/
#[\ReturnTypeWillChange]
public function natcasesort(): bool
{
parent::natcasesort();
Expand Down

0 comments on commit ab7b43a

Please sign in to comment.