Skip to content

Commit fec3635

Browse files
committed
[AI Bundle] Remove named argument usage
1 parent b2f0973 commit fec3635

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

src/ai-bundle/config/services.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -145,22 +145,22 @@
145145
// commands
146146
->set('ai.command.chat', ChatCommand::class)
147147
->args([
148-
tagged_locator('ai.agent', indexAttribute: 'name'),
148+
tagged_locator('ai.agent', 'name'),
149149
])
150150
->tag('console.command')
151151
->set('ai.command.setup_store', SetupStoreCommand::class)
152152
->args([
153-
tagged_locator('ai.store', indexAttribute: 'name'),
153+
tagged_locator('ai.store', 'name'),
154154
])
155155
->tag('console.command')
156156
->set('ai.command.drop_store', DropStoreCommand::class)
157157
->args([
158-
tagged_locator('ai.store', indexAttribute: 'name'),
158+
tagged_locator('ai.store', 'name'),
159159
])
160160
->tag('console.command')
161161
->set('ai.command.index', IndexCommand::class)
162162
->args([
163-
tagged_locator('ai.indexer', indexAttribute: 'name'),
163+
tagged_locator('ai.indexer', 'name'),
164164
])
165165
->tag('console.command')
166166
;

src/ai-bundle/src/Command/ChatCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
use Symfony\Component\DependencyInjection\ServiceLocator;
2929

3030
/**
31-
* @author Oskar Stark <oskarstark@gmail.com>
31+
* @author Oskar Stark <oskarstark@googlemail.com>
3232
*/
3333
#[AsCommand(
3434
name: 'ai:chat',

src/ai-bundle/tests/Command/ChatCommandTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
*/
1111

1212
/**
13-
* @author Oskar Stark <oskarstark@gmail.com>
13+
* @author Oskar Stark <oskarstark@googlemail.com>
1414
*/
1515

1616
namespace Symfony\AI\AiBundle\Tests\Command;

0 commit comments

Comments
 (0)