Skip to content

Commit bdb683a

Browse files
committed
run pint
1 parent f975ecf commit bdb683a

File tree

4 files changed

+8
-23
lines changed

4 files changed

+8
-23
lines changed

src/Auth/SessionUserProvider.php

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -14,23 +14,13 @@ public function retrieveById($identifier): ?Authenticatable
1414
return $identifier ? SessionUser::retrieve() : null;
1515
}
1616

17-
public function retrieveByToken($identifier, $token)
18-
{
19-
}
17+
public function retrieveByToken($identifier, $token) {}
2018

21-
public function updateRememberToken(Authenticatable $user, $token)
22-
{
23-
}
19+
public function updateRememberToken(Authenticatable $user, $token) {}
2420

25-
public function retrieveByCredentials(array $credentials)
26-
{
27-
}
21+
public function retrieveByCredentials(array $credentials) {}
2822

29-
public function validateCredentials(Authenticatable $user, array $credentials)
30-
{
31-
}
23+
public function validateCredentials(Authenticatable $user, array $credentials) {}
3224

33-
public function rehashPasswordIfRequired(Authenticatable $user, array $credentials, bool $force = false)
34-
{
35-
}
25+
public function rehashPasswordIfRequired(Authenticatable $user, array $credentials, bool $force = false) {}
3626
}

src/Graphql/Client.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@ public function __construct(
1212
private string $url,
1313
private string $token,
1414
private int $timeout = 10,
15-
) {
16-
}
15+
) {}
1716

1817
public static function fromArray(array $array): static
1918
{

src/Testing/Graphql/Query.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,7 @@ public static function test(Closure $callback): static
2424
return new static($callback);
2525
}
2626

27-
public function __construct(public readonly Closure $callback)
28-
{
29-
}
27+
public function __construct(public readonly Closure $callback) {}
3028

3129
public function returns(mixed $expectedResult): static
3230
{

tests/Graphql/ServiceTest.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,4 @@ public function test_configKey()
198198
}
199199
}
200200

201-
class DummyService extends Service
202-
{
203-
}
201+
class DummyService extends Service {}

0 commit comments

Comments
 (0)