Skip to content

Commit 3847e7c

Browse files
Update src/Name/Generator/ShortenGeneratorDecorator.php
Co-authored-by: Andrii Dembitskyi <[email protected]>
1 parent b1a6307 commit 3847e7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Name/Generator/ShortenGeneratorDecorator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public function __construct(NameGeneratorInterface $generator, int $maxLength)
1515

1616
public function shorten(string $name)
1717
{
18-
if ($this->maxLength >= strlen($name)) {
18+
if ($this->maxLength >= \strlen($name)) {
1919
return $name;
2020
}
2121

0 commit comments

Comments
 (0)