Skip to content

Commit

Permalink
Fixed: ics file import broken #1175.
Browse files Browse the repository at this point in the history
PHP 8.3 compatibility issue
  • Loading branch information
mschering committed Sep 10, 2024
1 parent 3647cad commit 27d9701
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion www/go/base/db/Statement.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@

namespace GO\Base\Db;
use IteratorIterator;
use ReturnTypeWillChange;

class Statement implements \IteratorAggregate
{
Expand Down Expand Up @@ -575,7 +576,7 @@ public function truncateTable($table)
* Making the activefinder iterable
* @return IteratorIterator
*/
public function getIterator()
public function getIterator() : \Traversable
{
if($this->_statement == null)
$this->execute($this->params);
Expand Down

0 comments on commit 27d9701

Please sign in to comment.