Skip to content

Commit 224fe5a

Browse files
pascalbaljetgithub-actions[bot]
authored andcommitted
Fix styling
1 parent 0996964 commit 224fe5a

37 files changed

+39
-89
lines changed

app/app/Tables/SpatieUsers.php

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

1212
class SpatieUsers extends AbstractTable
1313
{
14-
public function __construct(private string $paginateMethod)
15-
{
16-
}
14+
public function __construct(private string $paginateMethod) {}
1715

1816
public function for()
1917
{

app/app/Tables/SpladeUsers.php

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

99
class SpladeUsers extends AbstractTable
1010
{
11-
public function __construct(private string $paginateMethod)
12-
{
13-
}
11+
public function __construct(private string $paginateMethod) {}
1412

1513
public function for()
1614
{

app/app/View/Components/FakeEmail.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@ class FakeEmail extends Component
1313
public function __construct(
1414
public User $user,
1515
public ?string $prefix = ''
16-
) {
17-
}
16+
) {}
1817

1918
public function randomize()
2019
{

app/app/View/Components/FakeMail.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@ class FakeMail extends Component
1313
public function __construct(
1414
public User $user,
1515
public ?string $prefix = ''
16-
) {
17-
}
16+
) {}
1817

1918
public function randomize()
2019
{

app/app/View/Components/FindIp.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@ public function __construct(
1313
public $hostname = '',
1414
public $ip = '',
1515
public $dataTest = 'InlineDataTest'
16-
) {
17-
}
16+
) {}
1817

1918
public function find()
2019
{

app/tests/Unit/TableExporterTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public function it_can_generate_an_array_with_the_column_styling_or_use_a_callba
5757
$worksheet = Mockery::mock(Worksheet::class);
5858
$worksheet->shouldReceive('getHighestRowAndColumn')->andReturn(['column' => 'C', 'row' => 3]);
5959
$worksheet->shouldReceive('setAutoFilter')->with('A1:C1');
60-
$worksheet->shouldReceive('getStyle')->with('C2:C3')->andReturn($style = new Style());
60+
$worksheet->shouldReceive('getStyle')->with('C2:C3')->andReturn($style = new Style);
6161

6262
$this->assertEquals([
6363
'B2:B3' => ['font' => ['bold' => true]],

app/tests/Unit/WithVueTest.php

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -54,17 +54,11 @@ public function it_return_public_available_methods()
5454
{
5555
use WithVue;
5656

57-
public function foo()
58-
{
59-
}
57+
public function foo() {}
6058

61-
protected function bar()
62-
{
63-
}
59+
protected function bar() {}
6460

65-
private function baz()
66-
{
67-
}
61+
private function baz() {}
6862
};
6963

7064
$this->assertEquals(['foo'], $instance->_availableMethods());

src/Bridge/CouldNotResolveComponentInstance.php

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

55
use Exception;
66

7-
class CouldNotResolveComponentInstance extends Exception
8-
{
9-
}
7+
class CouldNotResolveComponentInstance extends Exception {}

src/Components/Content.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@ class Content extends Component
1212
public function __construct(
1313
public $html,
1414
public string $as = 'div'
15-
) {
16-
}
15+
) {}
1716

1817
/**
1918
* Get the view / contents that represent the component.

src/Components/Dynamic.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@ class Dynamic extends Component
1313
*/
1414
public function __construct(
1515
public string $name
16-
) {
17-
}
16+
) {}
1817

1918
/**
2019
* Get the view / contents that represent the component.

0 commit comments

Comments
 (0)