Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

Commit 5f9932a

Browse files
committed
Merge branch 'hotfix/doc-updates'
Close #36 Close #27 Close #26 Close #23 Close #18
2 parents 733a039 + 35d7cd2 commit 5f9932a

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

doc/book/adapter/dbtable/callback-check.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ The available configuration options include:
3232
Many databases do not provide functions that implement a cryptographically
3333
secure hashing mechanism. Additionally, you may want to ensure that should you
3434
switch database systems, hashing is consistent. This is a perfect use case for
35-
the `CallbackCheck` adapter; you can implement the password hashing and
35+
the `CallbackCheckAdapter` adapter; you can implement the password hashing and
3636
verification within PHP instead.
3737

3838
The following code creates an adapter for an in-memory database, creates a

doc/book/adapter/dbtable/credential-treatment.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ Another alternative is to use the `getDbSelect()` method to retrieve the
292292
`Zend\Db\Sql\Select` instance associated with the adapter and modify it. (The
293293
method is common to all `Zend\Authentication\Adapter\DbTable` adapters.) The
294294
`Select` instance is consumed by the `authenticate()` routine when building the
295-
SQL to execute on the RDMBS server. It is important to note that this method
295+
SQL to execute on the RDBMS server. It is important to note that this method
296296
will always return the same `Select` instance regardless if `authenticate()`
297297
has been called or not; identity and credential values are passed to the
298298
instance as placeholders.

doc/book/adapter/http.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ Next, create the `Zend\Authentication\Adapter\Http` object:
172172
```php
173173
use Zend\Authentication\Adapter\Http;
174174

175-
$adapter = Http($config);
175+
$adapter = new Http($config);
176176
```
177177

178178
Since we're supporting both Basic and Digest authentication, we need two

doc/book/storage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ $result = $auth->authenticate($authAdapter);
5858
A website might use multiple storage strategies for identity persistence; the
5959
`Chain` Storage can be used to glue these together.
6060

61-
For example, the `Chanin` can be configured to first use `Session` storage and
61+
For example, the `Chain` can be configured to first use `Session` storage and
6262
then use an `OAuth` storage adapter. One could configure this in the following
6363
way:
6464

src/Storage/Chain.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public function add(StorageInterface $storage, $priority = 1)
4444
* storage is not found, then this chain storage itself is empty.
4545
*
4646
* In case a non-empty storage is found then this chain storage is also non-empty. Report
47-
* that, but also make sure that all storage with higher priorty that are empty
47+
* that, but also make sure that all storage with higher priority that are empty
4848
* are filled.
4949
*
5050
* @see StorageInterface::isEmpty()
@@ -53,7 +53,7 @@ public function isEmpty()
5353
{
5454
$storageWithHigherPriority = [];
5555

56-
// Loop invariant: $storageWithHigherPriority contains all storage with higher priorty
56+
// Loop invariant: $storageWithHigherPriority contains all storage with higher priority
5757
// than the current one.
5858
foreach ($this->storageChain as $storage) {
5959
if ($storage->isEmpty()) {

0 commit comments

Comments
 (0)