traceOperation('rows_per_page_normalization', $normalization); $optionsRead = static function () { $repository = abj_service('options_repository'); return array($repository, $repository->getOptions()); }; $resolved = $tracer === null ? $optionsRead() : $tracer->traceOperation('options_read', $optionsRead); $repository = $resolved[0]; $options = $resolved[1]; $options['perpage'] = $showRows; $repository->updateOptions($options); } finally { if ($tracer !== null) { $tracer->finish(); } } } }