10000 Fix styling · munezaclovis/NativePHP-laravel@a65f716 · GitHub
[go: up one dir, main page]

Skip to content

Commit a65f716

Browse files
simonhampgithub-actions[bot]
authored andcommitted
Fix styling
1 parent db818a8 commit a65f716

30 files changed

+30
-102
lines changed

src/App.php

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

77
class App
88
{
9-
public function __construct(protected Client $client)
10-
{
11-
}
9+
public function __construct(protected Client $client) {}
1210

1311
public function focus(): void
1412
{

src/Clipboard.php

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

77
class Clipboard
88
{
9-
public function __construct(protected Client $client)
10-
{
11-
}
9+
public function __construct(protected Client $client) {}
1210

1311
public function clear()
1412
{

src/ContextMenu.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,7 @@
77

88
class ContextMenu
99
{
10-
public function __construct(protected Client $client)
11-
{
12-
}
10+
public function __construct(protected Client $client) {}
1311

1412
public function register(Menu $menu)
1513
{

src/DataObjects/Printer.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,5 @@ public function __construct(
1111
public int $status,
1212
public bool $isDefault,
1313
public array $options
14-
) {
15-
16-
}
14+
) {}
1715
}

src/Dialog.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,7 @@ class Dialog
2626

2727
protected $windowReference;
2828

29-
public function __construct(protected Client $client)
30-
{
31-
}
29+
public function __construct(protected Client $client) {}
3230

3331
public static function new()
3432
{

src/Dock.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,7 @@
77

88
class Dock
99
{
10-
public function __construct(protected Client $client)
11-
{
12-
}
10+
public function __construct(protected Client $client) {}
1311

1412
public function menu(Menu $menu)
1513
{

src/Events/App/ApplicationBooted.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,5 @@ class ApplicationBooted
1010
{
1111
use Dispatchable, InteractsWithSockets, SerializesModels;
1212

13-
public function __construct()
14-
{
15-
16-
}
13+
public function __construct() {}
1714
}

src/Events/App/OpenFile.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,7 @@ class OpenFile implements ShouldBroadcastNow
1212
{
1313
use Dispatchable, InteractsWithSockets, SerializesModels;
1414

15-
public function __construct(public $path)
16-
{
17-
18-
}
15+
public function __construct(public $path) {}
1916

2017
public function broadcastOn()
2118
{

src/Events/App/OpenedFromURL.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,7 @@ class OpenedFromURL implements ShouldBroadcastNow
1212
{
1313
use Dispatchable, InteractsWithSockets, SerializesModels;
1414

15-
public function __construct(public $url)
16-
{
17-
18-
}
15+
public function __construct(public $url) {}
1916

2017
public function broadcastOn()
2118
{

src/Events/Menu/MenuItemClicked.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,7 @@ class MenuItemClicked implements ShouldBroadcastNow
1212
{
1313
use Dispatchable, InteractsWithSockets, SerializesModels;
1414

15-
public function __construct(public array $item)
16-
{
17-
}
15+
public function __construct(public array $item) {}
1816

1917
public function broadcastOn()
2018
{

0 commit comments

Comments
 (0)
0