mirror of
https://github.com/shlinkio/shlink.git
synced 2026-03-07 07:43:12 +08:00
Replaced all FQ global function and constants by explicit imports
This commit is contained in:
@@ -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)));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user