Skip to content

Commit da9b306

Browse files
peterfoxGeniJaho
andauthored
Update laravel-container-string-to-fully-qualified-name.php (#227)
* Update laravel-container-string-to-fully-qualified-name.php 'hash' points to the incorrect implementation and should point to `Illuminate\Hashing\HashManager` instead of the Hasher contract. * Fix test --------- Co-authored-by: Geni Jaho <[email protected]>
1 parent c8e28db commit da9b306

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

config/sets/laravel-container-string-to-fully-qualified-name.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
'migrator' => 'Illuminate\Database\Migrations\Migrator',
4848
'migration.creator' => 'Illuminate\Database\Migrations\MigrationCreator',
4949
'composer' => 'Illuminate\Support\Composer',
50-
'hash' => 'Illuminate\Contracts\Hashing\Hasher',
50+
'hash' => 'Illuminate\Hashing\HashManager',
5151
'hash.driver' => 'Illuminate\Contracts\Hashing\Hasher',
5252
'mail.manager' => 'Illuminate\Contracts\Mail\Factory',
5353
'mailer' => 'Illuminate\Mail\Mailer',

tests/Sets/ContainerStringToFullyQualifiedName/Fixture/fixture.php.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ app(\Illuminate\Cache\Repository::class);
5353
app(\Illuminate\Contracts\Filesystem\Factory::class);
5454
app(\Illuminate\Encryption\Encrypter::class);
5555
app(\Illuminate\Filesystem\Filesystem::class);
56-
app(\Illuminate\Contracts\Hashing\Hasher::class);
56+
app(\Illuminate\Hashing\HashManager::class);
5757
app(\Illuminate\Mail\Mailer::class);
5858

5959
?>

0 commit comments

Comments
 (0)