mirror of
https://github.com/Karaka-Management/oms-WarehouseManagement.git
synced 2026-02-18 06:58:40 +00:00
fix phpstan lvl 9 bugs
This commit is contained in:
parent
ce4b22369d
commit
1f80198021
|
|
@ -60,6 +60,7 @@ final class ApiController extends Controller
|
||||||
string $ip = null
|
string $ip = null
|
||||||
) : void
|
) : void
|
||||||
{
|
{
|
||||||
|
/** @var \Modules\ClientManagement\Models\Client|\Modules\SupplierManagement\Models\Supplier $new */
|
||||||
$stock = new Stock($new->number);
|
$stock = new Stock($new->number);
|
||||||
$stock->type = 1;
|
$stock->type = 1;
|
||||||
StockMapper::create()->execute($stock);
|
StockMapper::create()->execute($stock);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user