From c5af997bba8ea6d7a68b067910561734ee0027f5 Mon Sep 17 00:00:00 2001
From: Marcin Kolanko <marcin@inspirelabs.pl>
Date: Wed, 17 Jun 2020 07:24:58 +0000
Subject: [PATCH] replaced class_exists to interface_exists for interfaces

---
 src/Plugin/WithoutNamespace/Plugin_Info.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/Plugin/WithoutNamespace/Plugin_Info.php b/src/Plugin/WithoutNamespace/Plugin_Info.php
index 8f1b544..8c29676 100644
--- a/src/Plugin/WithoutNamespace/Plugin_Info.php
+++ b/src/Plugin/WithoutNamespace/Plugin_Info.php
@@ -3,10 +3,10 @@
 if ( ! interface_exists( 'WPDesk_Translatable' ) ) {
 	require_once __DIR__ . '/Translatable.php';
 }
-if ( ! class_exists( 'WPDesk_Buildable' ) ) {
+if ( ! interface_exists( 'WPDesk_Buildable' ) ) {
 	require_once __DIR__ . '/Buildable.php';
 }
-if ( ! class_exists( 'WPDesk_Has_Plugin_Info' ) ) {
+if ( ! interface_exists( 'WPDesk_Has_Plugin_Info' ) ) {
 	require_once __DIR__ . '/Has_Plugin_Info.php';
 }
 
-- 
GitLab