@@ -22,9 +22,9 @@ public function testCacheDirPermissions(int $expectedMask, ?string $cacheDir, ?i
2222 $ typeBuilder = $ this ->createMock (TypeBuilder::class);
2323 $ eventDispatcher = $ this ->createMock (EventDispatcherInterface::class);
2424
25- $ options = new TypeGeneratorOptions ('App ' , $ cacheDir , [], true , null , $ cacheDirMask );
25+ $ options = new TypeGeneratorOptions ('App ' , $ cacheDir , true , null , $ cacheDirMask );
2626
27- $ mask = (new TypeGenerator ($ typeBuilder , $ eventDispatcher , $ options ))->getCacheDirMask ();
27+ $ mask = (new TypeGenerator ([], $ typeBuilder , $ eventDispatcher , $ options ))->getCacheDirMask ();
2828
2929 $ this ->assertSame ($ expectedMask , $ mask );
3030 }
@@ -38,9 +38,9 @@ public function testCompiledEvent(): void
3838 ->method ('dispatch ' )
3939 ->with ($ this ->equalTo (new SchemaCompiledEvent ()));
4040
41- $ options = new TypeGeneratorOptions ('App ' , null , [] );
41+ $ options = new TypeGeneratorOptions ('App ' , null );
4242
43- (new TypeGenerator ($ typeBuilder , $ eventDispatcher , $ options ))->compile (TypeGenerator::MODE_DRY_RUN );
43+ (new TypeGenerator ([], $ typeBuilder , $ eventDispatcher , $ options ))->compile (TypeGenerator::MODE_DRY_RUN );
4444 }
4545
4646 public function getPermissionsProvider (): Generator
0 commit comments