Skip to content

Commit 95d365e

Browse files
committed
RestrictedUsage constructor is private
1 parent ecfc541 commit 95d365e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Rules/RestrictedUsage/RestrictedUsage.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
final class RestrictedUsage
99
{
1010

11-
public function __construct(
11+
private function __construct(
1212
public readonly string $errorMessage,
1313
public readonly string $identifier,
1414
)

0 commit comments

Comments
 (0)