Skip to content

Commit

Permalink
Maybe fixes already defined interface
Browse files Browse the repository at this point in the history
  • Loading branch information
overclokk committed Aug 19, 2020
1 parent a15a60e commit 939a4d5
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions classname-bc-aliases.php
Original file line number Diff line number Diff line change
@@ -1,15 +1,11 @@
<?php

if ( \interface_exists(\ItalyStrap\Config\Config_Interface::class) ) {
return;
}

\class_alias(
\ItalyStrap\Config\ConfigFactory::class,
\ItalyStrap\Config\Config_Factory::class
'\ItalyStrap\Config\ConfigFactory',
'\ItalyStrap\Config\Config_Factory'
);

\class_alias(
\ItalyStrap\Config\ConfigInterface::class,
\ItalyStrap\Config\Config_Interface::class
'\ItalyStrap\Config\ConfigInterface',
'\ItalyStrap\Config\Config_Interface'
);

0 comments on commit 939a4d5

Please sign in to comment.