Skip to content

Commit d580b0d

Browse files
authored
php-cs-fixer cleanup (#139)
1 parent fe08b34 commit d580b0d

17 files changed

Lines changed: 57 additions & 57 deletions

File tree

tests/Cache/PropertyResolver/Fixtures/DummyEntity.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
class DummyEntity
1010
{
1111
#[TargetedProperties('bar', 'baz')]
12-
public function getFoo()
12+
public function getFoo(): void
1313
{
1414
}
1515
}

tests/Cache/RouteMetadata/Fixtures/BarController.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@
99
class BarController
1010
{
1111
#[PurgeOn('foo', route: 'foo_bar1')]
12-
public function fooAction()
12+
public function fooAction(): void
1313
{
1414
}
1515

1616
#[PurgeOn('foo', route: ['foo_baz1', 'foo_baz3'])]
17-
public function bazAction()
17+
public function bazAction(): void
1818
{
1919
}
2020
}

tests/Cache/RouteMetadata/Fixtures/BazController.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@
99
#[PurgeOn('foo')]
1010
class BazController
1111
{
12-
public function __invoke()
12+
public function __invoke(): void
1313
{
1414
}
1515

1616
#[PurgeOn('bar')]
17-
public function barAction()
17+
public function barAction(): void
1818
{
1919
}
2020
}

tests/Cache/RouteMetadata/Fixtures/DummyClass.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
class DummyClass
88
{
9-
public static function getValues()
9+
public static function getValues(): void
1010
{
1111
}
1212
}

tests/Cache/RouteMetadata/Fixtures/FooController.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@
99
class FooController
1010
{
1111
#[PurgeOn('bar')]
12-
public function barAction()
12+
public function barAction(): void
1313
{
1414
}
1515

1616
#[PurgeOn('baz1')]
1717
#[PurgeOn('baz2')]
18-
public function bazAction()
18+
public function bazAction(): void
1919
{
2020
}
2121
}

tests/Cache/Subscription/Fixtures/DummyController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
class DummyController
88
{
9-
public function barAction()
9+
public function barAction(): void
1010
{
1111
}
1212
}

tests/DependencyInjection/Fixtures/DummyController.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,16 @@
99
class DummyController
1010
{
1111
#[PurgeOn('test')]
12-
public function methodWithPurgeOn()
12+
public function methodWithPurgeOn(): void
1313
{
1414
}
1515

16-
public function methodWithoutPurgeOn()
16+
public function methodWithoutPurgeOn(): void
1717
{
1818
}
1919

2020
#[PurgeOn('test')]
21-
public function anotherMethodWithPurgeOn()
21+
public function anotherMethodWithPurgeOn(): void
2222
{
2323
}
2424
}

tests/DependencyInjection/Fixtures/DummyControllerWithPurgeOn.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@
99
#[PurgeOn('test')]
1010
class DummyControllerWithPurgeOn
1111
{
12-
public function __invoke()
12+
public function __invoke(): void
1313
{
1414
}
1515

1616
#[PurgeOn('test')]
17-
public function methodWithPurgeOn()
17+
public function methodWithPurgeOn(): void
1818
{
1919
}
2020
}

tests/DependencyInjection/Fixtures/DummyExpressionLanguageFunction.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@
99
#[AsExpressionLanguageFunction('function_class')]
1010
class DummyExpressionLanguageFunction
1111
{
12-
public function __invoke()
12+
public function __invoke(): void
1313
{
1414
}
1515

1616
#[AsExpressionLanguageFunction('function_foo')]
17-
public function foo()
17+
public function foo(): void
1818
{
1919
}
2020
}

tests/DependencyInjection/Fixtures/DummyRouteParamService.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@
99
#[AsRouteParamService('alias_class')]
1010
class DummyRouteParamService
1111
{
12-
public function __invoke()
12+
public function __invoke(): void
1313
{
1414
}
1515

1616
#[AsRouteParamService('alias_foo')]
17-
public function foo()
17+
public function foo(): void
1818
{
1919
}
2020
}

0 commit comments

Comments
 (0)