Skip to content

Commit 323c737

Browse files
committed
🧹 Fixed code-style
1 parent 9f308b6 commit 323c737

File tree

6 files changed

+15
-22
lines changed

6 files changed

+15
-22
lines changed

‎composer.json‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,10 @@
6363
"allow-plugins": {
6464
"dragon-code/codestyler": true,
6565
"ergebnis/composer-normalize": true,
66-
"friendsofphp/php-cs-fixer": true
66+
"friendsofphp/php-cs-fixer": true,
67+
"symfony/thanks": true
6768
},
6869
"preferred-install": "dist",
6970
"sort-packages": true
7071
}
71-
}
72+
}

‎src/ApiResponse/Responsable.php‎

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,14 @@
66

77
interface Responsable
88
{
9+
public static function allowWith(): void;
10+
11+
public static function withoutWith(): void;
12+
13+
public static function wrapped(): void;
14+
15+
public static function withoutWrap(): void;
16+
917
public function with(array $with = []): self;
1018

1119
public function headers(array $headers = []): self;
@@ -15,12 +23,4 @@ public function statusCode(?int $code = null): self;
1523
public function data($data = null): self;
1624

1725
public function response(): JsonResponse;
18-
19-
public static function allowWith(): void;
20-
21-
public static function withoutWith(): void;
22-
23-
public static function wrapped(): void;
24-
25-
public static function withoutWrap(): void;
2626
}

‎src/Exceptions/LogicException.php‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,4 @@
2121

2222
use Throwable;
2323

24-
interface LogicException extends Throwable
25-
{
26-
}
24+
interface LogicException extends Throwable {}

‎src/Exceptions/RuntimeException.php‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,4 @@
2121

2222
use Throwable;
2323

24-
interface RuntimeException extends Throwable
25-
{
26-
}
24+
interface RuntimeException extends Throwable {}

‎src/Queue/ShouldQueue.php‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,4 @@
44

55
namespace DragonCode\Contracts\Queue;
66

7-
interface ShouldQueue
8-
{
9-
}
7+
interface ShouldQueue {}

‎src/Support/Stringable.php‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,4 @@
1919

2020
namespace DragonCode\Contracts\Support;
2121

22-
interface Stringable extends \Stringable
23-
{
24-
}
22+
interface Stringable extends \Stringable {}

0 commit comments

Comments
 (0)