diff --git a/application/src/Helper/DimensionHelper.php b/application/src/Helper/DimensionHelper.php index e65d8e4..3e2fb0e 100644 --- a/application/src/Helper/DimensionHelper.php +++ b/application/src/Helper/DimensionHelper.php @@ -10,7 +10,9 @@ use Doctrine\Common\Collections\Collection; * * @author kevinfrantz * - * @todo Implement tests for all functions + * @deprecated + * + * @todo Implement as service! */ final class DimensionHelper implements DimensionHelperInterface { @@ -58,6 +60,8 @@ final class DimensionHelper implements DimensionHelperInterface } /** + * @deprecated + * * @param int $dimension * The dimensions start with 1 for the elements of the actuall dimension and NULL for all elements * @param Collection $elements diff --git a/application/src/Helper/DimensionHelperInterface.php b/application/src/Helper/DimensionHelperInterface.php index 807c872..07ba73f 100644 --- a/application/src/Helper/DimensionHelperInterface.php +++ b/application/src/Helper/DimensionHelperInterface.php @@ -4,7 +4,20 @@ namespace App\Helper; use Doctrine\Common\Collections\Collection; +/** + * @deprecated + * + * @author kevinfrantz + */ interface DimensionHelperInterface { + /** + * @deprecated + * + * @param int $dimension + * @param Collection $elements + * + * @return Collection + */ public function getDimensions(?int $dimension = null, Collection $elements = null): Collection; }