Skip to content

Commit d8390d5

Browse files
fix deprecated dynamic property
1 parent 2eb052b commit d8390d5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/Vite.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
class Vite {
88
protected static Vite $instance;
99
protected $isFirstScript = true;
10+
protected ?array $manifest = null;
1011

1112
public static function getInstance() {
1213
return self::$instance ??= new self();
@@ -174,4 +175,4 @@ public function legacyJs($entry = null, $options = []): ?string {
174175
$file = $this->assetProd($this->manifestProperty($legacyEntry, 'file'));
175176
return js($file, array_merge(['nomodule' => true], $options));
176177
}
177-
}
178+
}

0 commit comments

Comments
 (0)