mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-09 01:44:31 +02:00
Use imports instead of FQNs
This commit is contained in:
parent
f63b6d7207
commit
5629215ce4
179 changed files with 792 additions and 597 deletions
|
@ -2,6 +2,7 @@
|
|||
|
||||
namespace App\Services\Parts;
|
||||
|
||||
use App\Entity\Parts\Storelocation;
|
||||
use App\Entity\LogSystem\PartStockChangedLogEntry;
|
||||
use App\Entity\Parts\PartLot;
|
||||
use App\Services\LogSystem\EventCommentHelper;
|
||||
|
@ -24,7 +25,7 @@ final class PartLotWithdrawAddHelper
|
|||
}
|
||||
|
||||
//So far all other restrictions are defined at the storelocation level
|
||||
if(!$partLot->getStorageLocation() instanceof \App\Entity\Parts\Storelocation) {
|
||||
if(!$partLot->getStorageLocation() instanceof Storelocation) {
|
||||
return true;
|
||||
}
|
||||
//We can not add parts if the storage location of the lot is marked as full
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue