Skip to content

Commit 5464caf

Browse files
authored
Merge pull request #18 from alexivaylov/update-documentation
Fixed spelling error * Removed deprecated hydrator class
2 parents db98ae0 + db52c10 commit 5464caf

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

docs/book/in-depth-guide/laminas-db-sql-laminas-hydrator.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ use Laminas\Db\ResultSet\ResultSet;
398398
Next, we'll add the following import statements to our class file:
399399

400400
```php
401-
use Laminas\Hydrator\Reflection as ReflectionHydrator;
401+
use Laminas\Hydrator\ReflectionHydrator;
402402
use Laminas\Db\ResultSet\HydratingResultSet;
403403
```
404404

@@ -535,7 +535,7 @@ use Interop\Container\ContainerInterface;
535535
use Blog\Model\Post;
536536
use Blog\Model\LaminasDbSqlRepository;
537537
use Laminas\Db\Adapter\AdapterInterface;
538-
use Laminas\Hydrator\Reflection as ReflectionHydrator;
538+
use Laminas\Hydrator\ReflectionHydrator;
539539
use Laminas\ServiceManager\Factory\FactoryInterface;
540540

541541
class LaminasDbSqlRepositoryFactory implements FactoryInterface

docs/book/in-depth-guide/laminas-form-laminas-form-fieldset.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -747,7 +747,7 @@ First, add two import statements to the top of the class file:
747747
```php
748748
// In module/Blog/src/Form/PostFieldset.php:
749749
use Blog\Model\Post;
750-
use Laminas\Hydrator\Reflection as ReflectionHydrator;
750+
use Laminas\Hydrator\ReflectionHydrator;
751751
```
752752

753753
Next, update the `init()` method to add the following two lines:

docs/book/in-depth-guide/preparing-databases.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
In the previous chapter, we created a `PostRepository` that returns some data
44
from blog posts. While the implementation was adequate for learning purposes, it
55
is quite impractical for real world applications; no one would want to modify
6-
the source files each time a new post is added! Fortunately, we an always turn
6+
the source files each time a new post is added! Fortunately, we can always turn
77
to databases for the actual storage of posts; all we need to learn is how to
88
interact with databases within our application.
99

0 commit comments

Comments
 (0)