diff --git a/src/Propel/Runtime/Collection/CollectionIterator.php b/src/Propel/Runtime/Collection/CollectionIterator.php index eb3468389..718972626 100644 --- a/src/Propel/Runtime/Collection/CollectionIterator.php +++ b/src/Propel/Runtime/Collection/CollectionIterator.php @@ -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(); @@ -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(); @@ -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); @@ -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); @@ -298,8 +302,9 @@ public function uksort($callback): bool } /** - * @return bool + * @return true */ + #[\ReturnTypeWillChange] public function natsort(): bool { parent::natsort(); @@ -309,8 +314,9 @@ public function natsort(): bool } /** - * @return bool + * @return true */ + #[\ReturnTypeWillChange] public function natcasesort(): bool { parent::natcasesort();