Skip to content

Commit

Permalink
Update laravel-container-string-to-fully-qualified-name.php (#227)
Browse files Browse the repository at this point in the history
* 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 <jahogeni@gmail.com>
  • Loading branch information
peterfox and GeniJaho authored Jul 11, 2024
1 parent c8e28db commit da9b306
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
'migrator' => 'Illuminate\Database\Migrations\Migrator',
'migration.creator' => 'Illuminate\Database\Migrations\MigrationCreator',
'composer' => 'Illuminate\Support\Composer',
'hash' => 'Illuminate\Contracts\Hashing\Hasher',
'hash' => 'Illuminate\Hashing\HashManager',
'hash.driver' => 'Illuminate\Contracts\Hashing\Hasher',
'mail.manager' => 'Illuminate\Contracts\Mail\Factory',
'mailer' => 'Illuminate\Mail\Mailer',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ app(\Illuminate\Cache\Repository::class);
app(\Illuminate\Contracts\Filesystem\Factory::class);
app(\Illuminate\Encryption\Encrypter::class);
app(\Illuminate\Filesystem\Filesystem::class);
app(\Illuminate\Contracts\Hashing\Hasher::class);
app(\Illuminate\Hashing\HashManager::class);
app(\Illuminate\Mail\Mailer::class);

?>

0 comments on commit da9b306

Please sign in to comment.