Skip to content

Commit

Permalink
Merge pull request #17 from bogdancondorachi/patch-1
Browse files Browse the repository at this point in the history
fix: deprecated dynamic property
  • Loading branch information
arnoson authored Feb 15, 2023
2 parents 2eb052b + d8390d5 commit ce47065
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/Vite.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
class Vite {
protected static Vite $instance;
protected $isFirstScript = true;
protected ?array $manifest = null;

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

0 comments on commit ce47065

Please sign in to comment.