mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-08-04 10:14:44 +02:00
Use DatetimeImmutable instead of DateTime wherever possible
This commit is contained in:
parent
eebc373734
commit
235d572f8c
39 changed files with 222 additions and 112 deletions
|
@ -65,7 +65,7 @@ class PartLotProviderTest extends WebTestCase
|
|||
$this->target = new PartLot();
|
||||
$this->target->setDescription('Lot description');
|
||||
$this->target->setComment('Lot comment');
|
||||
$this->target->setExpirationDate(new \DateTime('1999-04-13'));
|
||||
$this->target->setExpirationDate(new \DateTimeImmutable('1999-04-13'));
|
||||
$this->target->setInstockUnknown(true);
|
||||
|
||||
$location = new StorageLocation();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue