Skip to content

Commit 6f87a9a

Browse files
committed
feat: remove named argument
1 parent eda24a5 commit 6f87a9a

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/Console/TinkerCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public function handle()
7272
$path,
7373
$config->get('tinker.alias', []),
7474
$config->get('tinker.dont_alias', []),
75-
classAliases: $config->get('tinker.class_alias', [])
75+
$config->get('tinker.class_alias', [])
7676
);
7777

7878
if ($code = $this->option('execute')) {

tests/ClassAliasAutoloaderTest.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,9 @@ public function testCanAliasClassesToAnotherName()
8484
$this->loader = ClassAliasAutoloader::register(
8585
$shell = Mockery::mock(Shell::class),
8686
$this->classmapPath,
87-
classAliases: ['Four' => 'One\Two\Three']
87+
[],
88+
[],
89+
['Four' => 'One\Two\Three']
8890
);
8991

9092
$shell->shouldReceive('writeStdout')

0 commit comments

Comments
 (0)