Skip to content

Commit 5d517da

Browse files
correct generator doc (#1143)
1 parent 37defa0 commit 5d517da

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Generator.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,10 +119,10 @@ public function getFileContentsForPendingOperation(string $targetPath): string
119119
* // App\Controller\FooController
120120
* $gen->createClassNameDetails('foo', 'Controller', 'Controller');
121121
*
122-
* // App\Controller\Admin\FooController
122+
* // App\Controller\Foo\AdminController
123123
* $gen->createClassNameDetails('Foo\\Admin', 'Controller', 'Controller');
124124
*
125-
* // App\Controller\Security\Voter\CoolController
125+
* // App\Security\Voter\CoolVoter
126126
* $gen->createClassNameDetails('Cool', 'Security\Voter', 'Voter');
127127
*
128128
* // Full class names can also be passed. Imagine the user has an autoload

0 commit comments

Comments
 (0)