Skip to content

Commit

Permalink
Fix phpstan
Browse files Browse the repository at this point in the history
  • Loading branch information
jdevalk committed Apr 27, 2024
1 parent 47771ef commit 8fdbe83
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/class-plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ public function __construct() {
* @return Plugin
*/
public static function get_instance() {
// @phpstan-ignore-next-line -- The 'instance' property is set in the constructor.
if ( ! self::$instance ) {
self::$instance = new self();
}
Expand Down

0 comments on commit 8fdbe83

Please sign in to comment.