Skip to content

Commit

Permalink
Merge pull request #6 from schlessera/schlessera-fix-function-redecla…
Browse files Browse the repository at this point in the history
…ration

Fix function redeclaration
  • Loading branch information
gmazzap authored Jul 15, 2016
2 parents a626273 + 86a4b9f commit 64ef6f7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions inc/i18n.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@

namespace Inpsyde\Validator;

// Exit early in case multiple Composer autoloaders try to include this file.
if ( function_exists( __NAMESPACE__ . '\\' . 'load_translations' ) ) {
return;
}

/**
* @param string $path
*
Expand Down

0 comments on commit 64ef6f7

Please sign in to comment.