mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-23 10:18:56 +02:00
Fixed code to be analysable by Symplfiy Code style set.
This commit is contained in:
parent
97f8afbc40
commit
2f20d90041
2 changed files with 5 additions and 5 deletions
|
@ -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"})
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -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)
|
||||||
****************************************************************/
|
****************************************************************/
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue