Skip to content

Commit 9e72af5

Browse files
authored
Format code (#6994)
1 parent d1e85ae commit 9e72af5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/ManagerTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public function testGetCacheTTL()
8989

9090
$model = new ModelStub();
9191
$this->assertSame(1000, $manager->getCacheTTL($model, $handler));
92-
$model = new class() extends ModelStub implements ModelCache\CacheableInterface {
92+
$model = new class extends ModelStub implements ModelCache\CacheableInterface {
9393
use ModelCache\Cacheable;
9494

9595
public function getCacheTTL(): ?int
@@ -144,7 +144,7 @@ public function testGetAttributes()
144144

145145
$manager = new ClassInvoker(new ManagerStub($container));
146146
$handler = $manager->handlers['default'];
147-
$model = new class() extends ModelStub {
147+
$model = new class extends ModelStub {
148148
protected ?string $table = 'model';
149149
};
150150
$data = $manager->getAttributes($handler->getConfig(), $model, ['id' => 1]);

0 commit comments

Comments
 (0)