mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-03-20 06:08:52 +01:00
Added a basic dialog for editing/creating attachmentType elements.
This commit is contained in:
@@ -50,9 +50,11 @@ abstract class DBElement
|
||||
* Get the ID. The ID can be zero, or even negative (for virtual elements). If an elemenent is virtual, can be
|
||||
* checked with isVirtualElement().
|
||||
*
|
||||
* @return int the ID of this element
|
||||
* Returns null, if the element is not saved to the DB yet.
|
||||
*
|
||||
* @return int|null the ID of this element
|
||||
*/
|
||||
final public function getID(): int
|
||||
final public function getID(): ?int
|
||||
{
|
||||
return (int) $this->id;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user