mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-01-13 05:39:33 +00:00
Fixed deprecations
This commit is contained in:
parent
a9d0caad5f
commit
63a33d1057
4 changed files with 37 additions and 35 deletions
|
|
@ -49,7 +49,7 @@ trait ManufacturerTrait
|
|||
/**
|
||||
* @var string The url to the part on the manufacturer's homepage
|
||||
*/
|
||||
#[Assert\Url]
|
||||
#[Assert\Url(requireTld: false)]
|
||||
#[Groups(['full', 'import', 'part:read', 'part:write'])]
|
||||
#[ORM\Column(type: Types::TEXT)]
|
||||
protected string $manufacturer_product_url = '';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue