Skip to content

Commit 1c99027

Browse files
authored
Merge pull request #5 from arueckauer/bugfix/configuration-documention
Fix interface name in configuration of authentication adapter
2 parents 217153c + 23a68b8 commit 1c99027

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/book/v1/config.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ As an example of configuration:
1717
```php
1818
// config/autoload/authentication.global.php
1919

20-
use Mezzio\Authentication\AdapterInterface;
20+
use Mezzio\Authentication\AuthenticationInterface;
2121
use Mezzio\Authentication\Basic\BasicAccess;
2222
use Mezzio\Authentication\UserRepositoryInterface;
2323
use Mezzio\Authentication\UserRepository\PdoDatabase;
@@ -31,7 +31,7 @@ return [
3131

3232
// Tell mezzio-authentication to use the BasicAccess
3333
// adapter:
34-
AdapterInterface::class => BasicAccess::class,
34+
AuthenticationInterface::class => BasicAccess::class,
3535
],
3636
],
3737
'authentication' => [

0 commit comments

Comments
 (0)