From 2f20d9004103cfc67464158b9c1e1c95497ecc56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20B=C3=B6hmer?= Date: Sun, 5 Jan 2020 22:32:19 +0100 Subject: [PATCH] Fixed code to be analysable by Symplfiy Code style set. --- src/Entity/Base/StructuralDBElement.php | 6 +++--- src/Entity/Parts/Part.php | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Entity/Base/StructuralDBElement.php b/src/Entity/Base/StructuralDBElement.php index 7da3305b..dc795083 100644 --- a/src/Entity/Base/StructuralDBElement.php +++ b/src/Entity/Base/StructuralDBElement.php @@ -50,12 +50,12 @@ abstract class StructuralDBElement extends AttachmentContainingDBElement { public const ID_ROOT_ELEMENT = 0; - //This is a not standard character, so build a const, so a dev can easily use it + /** This is a not standard character, so build a const, so a dev can easily use it */ public const PATH_DELIMITER_ARROW = ' → '; - // We can not define the mapping here or we will get an exception. Unfortunately we have to do the mapping in the - // subclasses /** + * We can not define the mapping here or we will get an exception. Unfortunately we have to do the mapping in the + * subclasses * @var StructuralDBElement[] * @Groups({"include_children"}) */ diff --git a/src/Entity/Parts/Part.php b/src/Entity/Parts/Part.php index 46a7ab5b..885c75cc 100644 --- a/src/Entity/Parts/Part.php +++ b/src/Entity/Parts/Part.php @@ -82,7 +82,7 @@ class Part extends AttachmentContainingDBElement use ManufacturerTrait; use OrderTrait; - //TODO + /** TODO */ protected $devices; /** @@ -98,7 +98,7 @@ class Part extends AttachmentContainingDBElement */ protected $lastModified; - /*************************************************************** + /** ************************************************************* * Overridden properties * (They are defined here and not in a trait, to avoid conflicts) ****************************************************************/