Skip to content

Commit 7dcb6e5

Browse files
jbrooksukgithub-actions[bot]
authored andcommitted
Fix code styling
1 parent 6c9d81d commit 7dcb6e5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Facades/CachetView.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ protected static function getFacadeAccessor()
1919
return ViewManager::class;
2020
}
2121

22-
public static function registerRenderHook(string $name, Closure $hook, string | array | null $scopes = null): void
22+
public static function registerRenderHook(string $name, Closure $hook, string|array|null $scopes = null): void
2323
{
2424
static::resolved(function (ViewManager $viewManager) use ($name, $hook, $scopes) {
2525
$viewManager->registerRenderHook($name, $hook, $scopes);

src/View/ViewManager.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class ViewManager
1717
/**
1818
* @param string | array<string> | null $scopes
1919
*/
20-
public function registerRenderHook(string $name, Closure $hook, string | array | null $scopes = null): void
20+
public function registerRenderHook(string $name, Closure $hook, string|array|null $scopes = null): void
2121
{
2222
if (! is_array($scopes)) {
2323
$scopes = [$scopes];
@@ -31,7 +31,7 @@ public function registerRenderHook(string $name, Closure $hook, string | array |
3131
/**
3232
* @param string | array<string> | null $scopes
3333
*/
34-
public function renderHook(string $name, string | array | null $scopes = null): Htmlable
34+
public function renderHook(string $name, string|array|null $scopes = null): Htmlable
3535
{
3636
$renderedHooks = [];
3737

0 commit comments

Comments
 (0)