We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f7f5fe commit a42b53aCopy full SHA for a42b53a
2 files changed
src/Utils/FileInfo.php
@@ -19,7 +19,7 @@
19
*/
20
final class FileInfo extends \SplFileInfo
21
{
22
- private string $relativePath;
+ private readonly string $relativePath;
23
24
25
public function __construct(string $file, string $relativePath = '')
src/Utils/Type.php
@@ -16,7 +16,7 @@
16
/**
17
* PHP type reflection.
18
-final class Type
+final readonly class Type
/** @var array<int, string|self> */
private array $types;
0 commit comments