Skip to content

Commit c3645f2

Browse files
xHeavengithub-actions[bot]
authored andcommitted
Fix styling
1 parent 57ff004 commit c3645f2

File tree

6 files changed

+6
-17
lines changed

6 files changed

+6
-17
lines changed

src/Exceptions/FailedToEncodeException.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,4 @@
99
/**
1010
* The exception that is thrown when an object cannot be encoded to a JSONL row.
1111
*/
12-
class FailedToEncodeException extends Exception
13-
{
14-
}
12+
class FailedToEncodeException extends Exception {}

src/Exceptions/FailedToOpenFileException.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,4 @@
99
/**
1010
* The exception that is thrown when a file cannot be opened.
1111
*/
12-
class FailedToOpenFileException extends Exception
13-
{
14-
}
12+
class FailedToOpenFileException extends Exception {}

src/Exceptions/FailedToWriteFileException.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,4 @@
99
/**
1010
* The exception that is thrown when a file cannot be written.
1111
*/
12-
class FailedToWriteFileException extends Exception
13-
{
14-
}
12+
class FailedToWriteFileException extends Exception {}

src/Exceptions/InvalidDtoClassException.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,4 @@
99
/**
1010
* The exception that is thrown when a DTO class is invalid.
1111
*/
12-
class InvalidDtoClassException extends Exception
13-
{
14-
}
12+
class InvalidDtoClassException extends Exception {}

src/Exceptions/InvalidRowException.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,4 @@
99
/**
1010
* The exception that is thrown when a JSONL row is invalid.
1111
*/
12-
class InvalidRowException extends Exception
13-
{
14-
}
12+
class InvalidRowException extends Exception {}

tests/classes/ExampleDTO.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@
1212
public function __construct(
1313
public string $name,
1414
public array $wins,
15-
) {
16-
}
15+
) {}
1716

1817
public function toArray(): array
1918
{

0 commit comments

Comments
 (0)