Skip to content

Commit 9efef7e

Browse files
committed
Fix linting issues
1 parent d55a822 commit 9efef7e

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

tests/DataObject/DataObjectFetcherTest.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,7 @@
1313
use SilverStripe\Forager\Tests\Fake\PageFakeVersioned;
1414
use SilverStripe\Forager\Tests\Fake\TagFake;
1515
use SilverStripe\Forager\Tests\SearchServiceTest;
16-
use SilverStripe\ORM\Queries\SQLUpdate;
1716
use SilverStripe\Subsites\Model\Subsite;
18-
use SilverStripe\Versioned\Versioned;
1917

2018
class DataObjectFetcherTest extends SearchServiceTest
2119
{
@@ -105,7 +103,7 @@ public function testFetchBatch(): void
105103
$fetchedDocumentCount += count($documents);
106104

107105
// collect all ids so that we can check everything has been fetched at the end of the test
108-
$batchIDs = array_map(function (DataObjectDocument $document) {;
106+
$batchIDs = array_map(function (DataObjectDocument $document) {
109107
return $document->getDataObject()->ID;
110108
}, $documents);
111109

@@ -117,7 +115,6 @@ public function testFetchBatch(): void
117115

118116
// make sure we fetched all the documents
119117
$this->assertCount($totalDocuments, $fetchedDocumentIDs);
120-
121118
}
122119

123120
public function testTotalDocuments(): void

0 commit comments

Comments
 (0)