Skip to content

Commit d21fdf5

Browse files
authored
Merge pull request #9 from DarkLink363/1.x
[1.x] Fix Uninitialized Property Error "$replaces"
2 parents 63974f4 + 88d625b commit d21fdf5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/LaravelStub.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class LaravelStub
4141
*
4242
* @var array
4343
*/
44-
protected array $replaces;
44+
protected array $replaces = [];
4545

4646
/**
4747
* The stub file move or not.

0 commit comments

Comments
 (0)