Skip to content

Commit a4303b4

Browse files
jlagneaudunglas
authored andcommitted
Rename configuration option path for resolvePath
1 parent 33ccd35 commit a4303b4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/TypesGenerator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -829,7 +829,7 @@ private function namespaceToDir(array $config, string $namespace): string
829829
{
830830
if (!empty($config['namespaces']['alias'])) {
831831
foreach ($config['namespaces']['alias'] as $a) {
832-
$namespace = str_replace($a['namespace'], $a['path'], $namespace);
832+
$namespace = str_replace($a['namespace'], $a['resolvePath'], $namespace);
833833
}
834834
}
835835
return sprintf('%s/%s/', $config['output'], strtr($namespace, '\\', '/'));

src/TypesGeneratorConfiguration.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,9 +101,9 @@ function ($rdfa) {
101101
->info('Namespace to alias')
102102
->example('App\\')
103103
->end()
104-
->scalarNode('path')
104+
->scalarNode('resolvePath')
105105
->defaultNull()
106-
->info('Path to alias')
106+
->info('Path to resolve')
107107
->example('src/')
108108
->end()
109109
->end()

0 commit comments

Comments
 (0)