Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/book/in-depth-guide/laminas-db-sql-laminas-hydrator.md
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ use Laminas\Db\ResultSet\ResultSet;
Next, we'll add the following import statements to our class file:

```php
use Laminas\Hydrator\Reflection as ReflectionHydrator;
use Laminas\Hydrator\ReflectionHydrator;
use Laminas\Db\ResultSet\HydratingResultSet;
```

Expand Down Expand Up @@ -535,7 +535,7 @@ use Interop\Container\ContainerInterface;
use Blog\Model\Post;
use Blog\Model\LaminasDbSqlRepository;
use Laminas\Db\Adapter\AdapterInterface;
use Laminas\Hydrator\Reflection as ReflectionHydrator;
use Laminas\Hydrator\ReflectionHydrator;
use Laminas\ServiceManager\Factory\FactoryInterface;

class LaminasDbSqlRepositoryFactory implements FactoryInterface
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -747,7 +747,7 @@ First, add two import statements to the top of the class file:
```php
// In module/Blog/src/Form/PostFieldset.php:
use Blog\Model\Post;
use Laminas\Hydrator\Reflection as ReflectionHydrator;
use Laminas\Hydrator\ReflectionHydrator;
```

Next, update the `init()` method to add the following two lines:
Expand Down
2 changes: 1 addition & 1 deletion docs/book/in-depth-guide/preparing-databases.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
In the previous chapter, we created a `PostRepository` that returns some data
from blog posts. While the implementation was adequate for learning purposes, it
is quite impractical for real world applications; no one would want to modify
the source files each time a new post is added! Fortunately, we an always turn
the source files each time a new post is added! Fortunately, we can always turn
to databases for the actual storage of posts; all we need to learn is how to
interact with databases within our application.

Expand Down