File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 ]);
You can’t perform that action at this time.
0 commit comments