diff --git a/src/Bundle/ChillActivityBundle/Repository/ActivityRepository.php b/src/Bundle/ChillActivityBundle/Repository/ActivityRepository.php index 312d601ad..ebdc0a3c8 100644 --- a/src/Bundle/ChillActivityBundle/Repository/ActivityRepository.php +++ b/src/Bundle/ChillActivityBundle/Repository/ActivityRepository.php @@ -31,8 +31,7 @@ class ActivityRepository extends ServiceEntityRepository } /** - * @deprecated use @see{ActivityACLAwareRepositoryInterface::findByAccompanyingPeriod} - * + * @deprecated use @link{ActivityACLAwareRepositoryInterface::findByAccompanyingPeriod} * @return Activity[] */ public function findByAccompanyingPeriod(AccompanyingPeriod $period, array $scopes, ?bool $allowNullScope = false, ?int $limit = 100, ?int $offset = 0, array $orderBy = ['date' => 'desc']): array diff --git a/src/Bundle/ChillPersonBundle/Entity/SocialWork/SocialIssue.php b/src/Bundle/ChillPersonBundle/Entity/SocialWork/SocialIssue.php index 80b106b4e..f0a55b0f9 100644 --- a/src/Bundle/ChillPersonBundle/Entity/SocialWork/SocialIssue.php +++ b/src/Bundle/ChillPersonBundle/Entity/SocialWork/SocialIssue.php @@ -122,7 +122,7 @@ class SocialIssue } /** - * get all the ancestors of the social issue. + * get all the ancestors of the social issue * * @param bool $includeThis if the array in the result must include the present SocialIssue */ @@ -135,7 +135,7 @@ class SocialIssue } $current = $this; - + while ($current->hasParent()) { $ancestors[] = $current = $current->getParent(); }