From af979691146d699d0eed7c353d646bde1946474f Mon Sep 17 00:00:00 2001 From: Niklas Date: Tue, 25 Jul 2023 13:14:21 +0200 Subject: [PATCH] Fix User Deprecated: Method "Pimcore\Model\AbstractModel::setValues()" might add "static" as a native return type --- src/Model/MonitoringItem.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Model/MonitoringItem.php b/src/Model/MonitoringItem.php index 8e740ed..72bbe36 100644 --- a/src/Model/MonitoringItem.php +++ b/src/Model/MonitoringItem.php @@ -339,6 +339,9 @@ public static function getById($id) return $self->getDao()->getById($id); } + /** + * @return static + */ public function setValues($data = []) { if (is_array($data) && count($data) > 0) {