mikuli.cz

:)
git clone https://git.sr.ht/~ashymad/mikuli.cz
Log | Files | Refs

commit a26d0577fe8db7345d9ad99414f7f762df36dc7f
parent 0f35a6f7c70ee2e9f4c8c227b3d5eec9b3fb68d9
Author: markseu <mark2011@mayberg.se>
Date:   Tue, 21 Jun 2022 20:05:29 +0200

Updated extensions for PHP 8.1 compatibility

Diffstat:
Msystem/extensions/core.php | 6++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/system/extensions/core.php b/system/extensions/core.php @@ -981,12 +981,14 @@ class YellowPageCollection extends ArrayObject { } // Append to end of page collection - public function append($page): void { + #[\ReturnTypeWillChange] + public function append($page) { parent::append($page); } // Prepend to start of page collection - public function prepend($page): void { + #[\ReturnTypeWillChange] + public function prepend($page) { $array = $this->getArrayCopy(); array_unshift($array, $page); $this->exchangeArray($array);