mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
375c31904f
Opted not to return the result from `getCount()` directly since the PHPDoc says this returns an int (even though it technically already returns a string if the report isn't set up correctly...)
16 lines
326 B
PHP
16 lines
326 B
PHP
<?php
|
|
|
|
namespace SilverStripe\Reports\Tests\ReportTest;
|
|
|
|
use SilverStripe\Dev\TestOnly;
|
|
use SilverStripe\ORM\ArrayList;
|
|
use SilverStripe\Reports\Report;
|
|
|
|
class FakeTest3 extends Report implements TestOnly
|
|
{
|
|
public function sourceRecords($params, $sort, $limit)
|
|
{
|
|
return new ArrayList(range(1, 15000));
|
|
}
|
|
}
|