Skip to content

Commit 74b9343

Browse files
Initialize patterns variable
1 parent 043b034 commit 74b9343

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Detector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class Detector
3030
/**
3131
* @var array<string>
3232
*/
33-
private array $patterns;
33+
private array $patterns = [];
3434

3535
/**
3636
* Creates a new Detector

0 commit comments

Comments
 (0)