Skip to content

Commit

Permalink
Fix getInstance return type
Browse files Browse the repository at this point in the history
  • Loading branch information
oxyc committed Sep 20, 2024
1 parent a76aa2c commit f040339
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class Plugin

public Paywall $paywall;

public static function getInstance()
public static function getInstance(): static
{
if (! isset(self::$instance)) {
self::$instance = new static;
Expand Down

0 comments on commit f040339

Please sign in to comment.