/** * @return null|string */ public function retrieve() { $items = parent::retrieve(); if (!$items) { return null; } return implode(PHP_EOL . PHP_EOL, $items); }
/** * @return array|void */ public function retrieve() { $changes = []; $sections = parent::retrieve(); foreach ($sections as $section) { if (isset($section['section'])) { $changes[$section['section']] = $section['changes']; } } return $changes; }