From db52c1089bd4685871e270d94907454c6d9c728b Mon Sep 17 00:00:00 2001 From: Alex Ivaylov Date: Thu, 9 Apr 2020 20:29:21 +0300 Subject: [PATCH] Removed deprecated hydrator class reference in documentation * Fixed minor spelling error in Documentation Signed-off-by: Alex Ivaylov --- docs/book/in-depth-guide/laminas-db-sql-laminas-hydrator.md | 4 ++-- .../book/in-depth-guide/laminas-form-laminas-form-fieldset.md | 2 +- docs/book/in-depth-guide/preparing-databases.md | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/book/in-depth-guide/laminas-db-sql-laminas-hydrator.md b/docs/book/in-depth-guide/laminas-db-sql-laminas-hydrator.md index c1b4df4..fe58a86 100644 --- a/docs/book/in-depth-guide/laminas-db-sql-laminas-hydrator.md +++ b/docs/book/in-depth-guide/laminas-db-sql-laminas-hydrator.md @@ -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; ``` @@ -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 diff --git a/docs/book/in-depth-guide/laminas-form-laminas-form-fieldset.md b/docs/book/in-depth-guide/laminas-form-laminas-form-fieldset.md index a130745..0c70d2b 100644 --- a/docs/book/in-depth-guide/laminas-form-laminas-form-fieldset.md +++ b/docs/book/in-depth-guide/laminas-form-laminas-form-fieldset.md @@ -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: diff --git a/docs/book/in-depth-guide/preparing-databases.md b/docs/book/in-depth-guide/preparing-databases.md index 40da5cf..42ff100 100644 --- a/docs/book/in-depth-guide/preparing-databases.md +++ b/docs/book/in-depth-guide/preparing-databases.md @@ -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.