Some checks failed
Test / Test on PHP 8.3 (push) Failing after 5s
Test / Test on PHP 8.4 (push) Failing after 4s
Test / Test on PHP 8.5 (push) Failing after 3s
TypeScript static analysis / TypeScript check (push) Failing after 14s
Test Integration on MySQL / Test on PHP 8.3 (push) Failing after 1s
Test Integration on MySQL / Test on PHP 8.5 (push) Failing after 1s
Test Integration on PostgreSQL / Test on PHP 8.4 fix (push) Failing after 1s
Test Integration on PostgreSQL / Test on PHP 8.4 master (push) Failing after 1s
14 lines
215 B
PHP
14 lines
215 B
PHP
<?php
|
|
|
|
class MockDBResult extends ArrayIterator
|
|
{
|
|
public function fetchAll()
|
|
{
|
|
$arr = array();
|
|
foreach ($this as $value) {
|
|
$arr[] = $value;
|
|
}
|
|
return $arr;
|
|
}
|
|
}
|