Skip to content

Commit ddf767c

Browse files
alancolantgithub-actions[bot]
authored andcommitted
Fix styling
1 parent c8498d8 commit ddf767c

File tree

8 files changed

+8
-26
lines changed

8 files changed

+8
-26
lines changed

src/Hooks/GetHooksTable.php

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

77
class GetHooksTable extends Hook
88
{
9-
public function __construct(public array &$rows)
10-
{
11-
}
9+
public function __construct(public array &$rows) {}
1210
}

src/Utils/Intercept.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,5 @@ public function __construct(
1616
public ActionWhenMissing $actionWhenMissing = ActionWhenMissing::THROW_ERROR,
1717
public int $priority = 0,
1818
public bool $preventFullCache = false
19-
) {
20-
}
19+
) {}
2120
}

workbench/app/Hooks/GetArray.php

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

77
class GetArray extends Hook
88
{
9-
public function __construct(public array &$array)
10-
{
11-
}
9+
public function __construct(public array &$array) {}
1210
}

workbench/app/Hooks/GetString.php

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

77
class GetString extends Hook
88
{
9-
public function __construct(public string &$string)
10-
{
11-
}
9+
public function __construct(public string &$string) {}
1210
}

workbench/app/Hooks/GetStringFullyCacheable.php

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

88
class GetStringFullyCacheable extends Hook implements FullyCacheable
99
{
10-
public function __construct(public string &$string)
11-
{
12-
}
10+
public function __construct(public string &$string) {}
1311

1412
public static function initialInstance(): static
1513
{

workbench/app/Interceptors/RegisterNonExistingHook.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,5 @@
88
class RegisterNonExistingHook
99
{
1010
#[Intercept(InvalidHook::class, ActionWhenMissing::REGISTER_HOOK, 0)]
11-
public static function handleNonExistingHook(InvalidHook $hook)
12-
{
13-
14-
}
11+
public static function handleNonExistingHook(InvalidHook $hook) {}
1512
}

workbench/app/Interceptors/SkipNonExistingHook.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,5 @@
88
class SkipNonExistingHook
99
{
1010
#[Intercept(InvalidHook::class, ActionWhenMissing::SKIP, 0)]
11-
public static function handleNonExistingHook(InvalidHook $hook)
12-
{
13-
14-
}
11+
public static function handleNonExistingHook(InvalidHook $hook) {}
1512
}

workbench/app/Interceptors/ThrowNonExistingHook.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,5 @@
88
class ThrowNonExistingHook
99
{
1010
#[Intercept(InvalidHook::class, ActionWhenMissing::THROW_ERROR, 0)]
11-
public static function handleNonExistingHook(InvalidHook $hook)
12-
{
13-
14-
}
11+
public static function handleNonExistingHook(InvalidHook $hook) {}
1512
}

0 commit comments

Comments
 (0)