Merge pull request #124 from creative-commoners/pulls/1/interface-exists

FIX Use interface_exists
This commit is contained in:
Guy Sartorelli 2022-09-16 14:10:24 +12:00 committed by GitHub
commit 936f286e09
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,7 +6,7 @@ use SilverStripe\ORM\DataObject;
use SilverStripe\ORM\DB;
use SilverStripe\Registry\RegistryDataInterface;
if (!class_exists(RegistryDataInterface::class)) {
if (!interface_exists(RegistryDataInterface::class)) {
return;
}