apply rector rules

This commit is contained in:
2024-05-28 14:58:09 +02:00
parent 84f515d451
commit 06dd7dd4f5
15 changed files with 38 additions and 56 deletions

View File

@@ -36,7 +36,7 @@ class WebdavControllerTest extends KernelTestCase
{
self::bootKernel();
$this->engine = self::$container->get(\Twig\Environment::class);
$this->engine = self::getContainer()->get(\Twig\Environment::class);
}
private function buildController(): WebdavController
@@ -399,16 +399,12 @@ class MockedStoredObjectManager implements StoredObjectManagerInterface
return 'abcde';
}
public function write(StoredObject $document, string $clearContent): void
{
}
public function write(StoredObject $document, string $clearContent): void {}
public function etag(StoredObject $document): string
{
return 'ab56b4d92b40713acc5af89985d4b786';
}
public function clearCache(): void
{
}
public function clearCache(): void {}
}

View File

@@ -47,7 +47,7 @@ class PropfindRequestAnalyzerTest extends TestCase
}
}
public function provideRequestedProperties(): iterable
public static function provideRequestedProperties(): iterable
{
yield [
<<<'XML'