Skip to content

Commit

Permalink
self -> static
Browse files Browse the repository at this point in the history
  • Loading branch information
rasmuswinter committed Jun 10, 2021
1 parent 15751e1 commit 30955c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PostTypes/WordpressPost.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ public static function getPostObject($data)
*/
public static function canBeRegistered()
{
return !post_type_exists(self::postType());
return !post_type_exists(static::postType());
}

/**
Expand Down

0 comments on commit 30955c1

Please sign in to comment.