From 1f80198021c1300b12b35588a8914c36811a7167 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Mon, 26 Dec 2022 20:52:58 +0100 Subject: [PATCH] fix phpstan lvl 9 bugs --- Controller/ApiController.php | 1 + 1 file changed, 1 insertion(+) diff --git a/Controller/ApiController.php b/Controller/ApiController.php index 717aeb8..da023d2 100755 --- a/Controller/ApiController.php +++ b/Controller/ApiController.php @@ -60,6 +60,7 @@ final class ApiController extends Controller string $ip = null ) : void { + /** @var \Modules\ClientManagement\Models\Client|\Modules\SupplierManagement\Models\Supplier $new */ $stock = new Stock($new->number); $stock->type = 1; StockMapper::create()->execute($stock);