Skip to content

Commit 6cbb734

Browse files
committed
Use native property type hint
Since we're now on PHP 8.0+
1 parent fe347a8 commit 6cbb734

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/Exceptions/ServiceNotFound.php

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

88
final class ServiceNotFound extends RuntimeException implements NotFoundExceptionInterface
99
{
10-
/**
11-
* @var string
12-
*/
13-
private $serviceName;
10+
private string $serviceName;
1411

1512
/**
1613
* @param string $serviceName

0 commit comments

Comments
 (0)