<?php end(array|object &$array): mixed
<?php $diff = round($row->getNetValue() - $classificationSum, 2); if ($diff != 0) { end($classifications); $lastKey = key($classifications); if ($lastKey !== null) { $classifications[$lastKey]->addAmount($diff);