Skip to content

Commit c33ef26

Browse files
authored
Merge pull request #103 from pfrenssen/inflector-namespace
The standalone Inflector library has its own namespace.
2 parents 81e87f0 + 9dea678 commit c33ef26

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/AnnotationGenerator/PhpDocAnnotationGenerator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
namespace ApiPlatform\SchemaGenerator\AnnotationGenerator;
1515

16-
use Doctrine\Common\Util\Inflector;
16+
use Doctrine\Common\Inflector\Inflector;
1717
use League\HTMLToMarkdown\HtmlConverter;
1818
use Psr\Log\LoggerInterface;
1919

src/Command/GenerateTypesCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
use ApiPlatform\SchemaGenerator\GoodRelationsBridge;
1818
use ApiPlatform\SchemaGenerator\TypesGenerator;
1919
use ApiPlatform\SchemaGenerator\TypesGeneratorConfiguration;
20-
use Doctrine\Common\Util\Inflector;
20+
use Doctrine\Common\Inflector\Inflector;
2121
use Symfony\Component\Config\Definition\Processor;
2222
use Symfony\Component\Console\Command\Command;
2323
use Symfony\Component\Console\Input\InputArgument;

src/TypesGenerator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
use ApiPlatform\SchemaGenerator\AnnotationGenerator\AnnotationGeneratorInterface;
1717
use Doctrine\Common\Collections\ArrayCollection;
1818
use Doctrine\Common\Collections\Collection;
19-
use Doctrine\Common\Util\Inflector;
19+
use Doctrine\Common\Inflector\Inflector;
2020
use MyCLabs\Enum\Enum;
2121
use PhpCsFixer\Cache\NullCacheManager;
2222
use PhpCsFixer\Differ\NullDiffer;

0 commit comments

Comments
 (0)