Skip to content

Commit

Permalink
Merge pull request #183 from NiklasBr/return-type-monitoringitem
Browse files Browse the repository at this point in the history
Fix User Deprecated: Method "Pimcore\Model\AbstractModel::setValues()…
  • Loading branch information
ctippler authored Jul 25, 2023
2 parents 99d2e95 + af97969 commit bbf57fe
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Model/MonitoringItem.php
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit bbf57fe

Please sign in to comment.