Skip to content

Commit 64ef6f7

Browse files
authored
Merge pull request #6 from schlessera/schlessera-fix-function-redeclaration
Fix function redeclaration
2 parents a626273 + 86a4b9f commit 64ef6f7

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

inc/i18n.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@
1010

1111
namespace Inpsyde\Validator;
1212

13+
// Exit early in case multiple Composer autoloaders try to include this file.
14+
if ( function_exists( __NAMESPACE__ . '\\' . 'load_translations' ) ) {
15+
return;
16+
}
17+
1318
/**
1419
* @param string $path
1520
*

0 commit comments

Comments
 (0)