Skip to content

Commit c5b207b

Browse files
committed
Fix lint
The code changes adjust the spacing in the type hint of multiple test methods for better consistency and readability.
1 parent 067a9f5 commit c5b207b

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Diff for: tests/DefaultImageOptimizerTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class DefaultImageOptimizerTest extends TestCase
1616
/**
1717
* @dataProvider inputAndOutputImageProvider
1818
*/
19-
public function testOptimizeImageWithValidData($pathToImage, $pathToOutput, $expectedPathToOutput): void
19+
public function testOptimizeImageWithValidData($pathToImage, $pathToOutput, $expectedPathToOutput) : void
2020
{
2121
$optimizerChainMock = Mockery::mock(OptimizerChain::class);
2222
$optimizerChainMock->shouldReceive('optimize')

Diff for: tests/MissingLibraryExceptionTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
class MissingLibraryExceptionTest extends TestCase
1111
{
12-
public function testGeneratesMessage(): void
12+
public function testGeneratesMessage() : void
1313
{
1414
$library = 'cwebp';
1515

Diff for: tests/WebpOptimizerTest.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class WebpOptimizerTest extends TestCase
1515
/**
1616
* @dataProvider inputAndOutputImageProvider
1717
*/
18-
public function testOptimizeImageWithValidData($pathToImage, $pathToOutput, $expectedPathToOutput): void
18+
public function testOptimizeImageWithValidData($pathToImage, $pathToOutput, $expectedPathToOutput) : void
1919
{
2020
$options = [
2121
'converters' => [
@@ -57,7 +57,7 @@ public function inputAndOutputImageProvider() : array
5757
];
5858
}
5959

60-
public function testVerifiesLibraryInstallation(): void
60+
public function testVerifiesLibraryInstallation() : void
6161
{
6262
$this->expectException(MissingLibraryException::class);
6363

0 commit comments

Comments
 (0)