mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-18 09:54:35 +02:00
Improved typing and phpdoc type annotations
This commit is contained in:
parent
3817ba774d
commit
b7c8ca2a48
39 changed files with 189 additions and 129 deletions
|
@ -29,8 +29,9 @@ trait ProjectTrait
|
|||
protected ?Project $built_project = null;
|
||||
|
||||
/**
|
||||
* Returns all ProjectBOMEntries that use this part.
|
||||
* @return Collection<int, ProjectBOMEntry>|ProjectBOMEntry[]
|
||||
* Returns all ProjectBOMEntries that use this part.
|
||||
*
|
||||
* @phpstan-return Collection<int, ProjectBOMEntry>
|
||||
*/
|
||||
public function getProjectBomEntries(): Collection
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue