Replaced all FQ global function and constants by explicit imports

This commit is contained in:
Alejandro Celaya
2018-10-28 08:24:06 +01:00
parent e1222de05b
commit 77d810b735
70 changed files with 235 additions and 123 deletions

View File

@@ -6,6 +6,9 @@ namespace Shlinkio\Shlink\Core\Util;
use Doctrine\Common\Collections;
use Doctrine\ORM\EntityManagerInterface;
use Shlinkio\Shlink\Core\Entity\Tag;
use function str_replace;
use function strtolower;
use function trim;
trait TagManagerTrait
{
@@ -35,6 +38,6 @@ trait TagManagerTrait
*/
private function normalizeTagName($tagName): string
{
return \str_replace(' ', '-', \strtolower(\trim($tagName)));
return str_replace(' ', '-', strtolower(trim($tagName)));
}
}