From eb9298ec98c4a86e97e32a407ff37539456aed62 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sat, 12 Feb 2022 20:10:28 +0100 Subject: [PATCH] improve docblock --- DataStorage/Database/Mapper/ReadMapper.php | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/DataStorage/Database/Mapper/ReadMapper.php b/DataStorage/Database/Mapper/ReadMapper.php index 24ec897c5..6f8ba80d2 100644 --- a/DataStorage/Database/Mapper/ReadMapper.php +++ b/DataStorage/Database/Mapper/ReadMapper.php @@ -180,7 +180,9 @@ final class ReadMapper extends DataMapperAbstract /** * Execute mapper * - * @param null|Builder $query Query to use instead of the internally generated query (carefuly, this doesn't merge with the internal query. If you want to merge it use ->query() instead) + * @param null|Builder $query Query to use instead of the internally generated query + * Careful, this doesn't merge with the internal query. + * If you want to merge it use ->query() instead * * @return object|array * @@ -228,7 +230,9 @@ final class ReadMapper extends DataMapperAbstract /** * Execute mapper * - * @param null|Builder $query Query to use instead of the internally generated query (carefuly, this doesn't merge with the internal query. If you want to merge it use ->query() instead) + * @param null|Builder $query Query to use instead of the internally generated query + * Careful, this doesn't merge with the internal query. + * If you want to merge it use ->query() instead * * @return array * @@ -258,7 +262,9 @@ final class ReadMapper extends DataMapperAbstract /** * Execute mapper * - * @param null|Builder $query Query to use instead of the internally generated query (carefuly, this doesn't merge with the internal query. If you want to merge it use ->query() instead) + * @param null|Builder $query Query to use instead of the internally generated query + * Careful, this doesn't merge with the internal query. + * If you want to merge it use ->query() instead * * @return array * @@ -541,8 +547,8 @@ final class ReadMapper extends DataMapperAbstract $hasPath = true; $path = \explode('/', \ltrim($def['internal'], '/')); $member = $path[0]; - $refProp = $refClass->getProperty($path[0]); + $refProp = $refClass->getProperty($path[0]); if (!($isPublic = $refProp->isPublic())) { $refProp->setAccessible(true); }