From 30955c16d14021ea0edfc37e4fdac675001f4144 Mon Sep 17 00:00:00 2001 From: Rasmus Winter Date: Thu, 10 Jun 2021 11:09:59 +0100 Subject: [PATCH] self -> static --- src/PostTypes/WordpressPost.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PostTypes/WordpressPost.php b/src/PostTypes/WordpressPost.php index 62d35b6..d66b216 100644 --- a/src/PostTypes/WordpressPost.php +++ b/src/PostTypes/WordpressPost.php @@ -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()); } /**