Fixed code to be analysable by Symplfiy Code style set.

This commit is contained in:
Jan Böhmer 2020-01-05 22:32:19 +01:00
parent 97f8afbc40
commit 2f20d90041
2 changed files with 5 additions and 5 deletions

View file

@ -50,12 +50,12 @@ abstract class StructuralDBElement extends AttachmentContainingDBElement
{ {
public const ID_ROOT_ELEMENT = 0; 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 = ' → '; 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[] * @var StructuralDBElement[]
* @Groups({"include_children"}) * @Groups({"include_children"})
*/ */

View file

@ -82,7 +82,7 @@ class Part extends AttachmentContainingDBElement
use ManufacturerTrait; use ManufacturerTrait;
use OrderTrait; use OrderTrait;
//TODO /** TODO */
protected $devices; protected $devices;
/** /**
@ -98,7 +98,7 @@ class Part extends AttachmentContainingDBElement
*/ */
protected $lastModified; protected $lastModified;
/*************************************************************** /** *************************************************************
* Overridden properties * Overridden properties
* (They are defined here and not in a trait, to avoid conflicts) * (They are defined here and not in a trait, to avoid conflicts)
****************************************************************/ ****************************************************************/