. */ declare(strict_types=1); namespace FireflyIII\Import\Specifics; /** * Class SnsDescription. */ class SnsDescription implements SpecificInterface { /** * @return string */ public static function getDescription(): string { return 'Trim quotes from SNS descriptions.'; } /** * @return string */ public static function getName(): string { return 'SNS description'; } /** * @param array $row * * @return array */ public function run(array $row): array { $row = array_values($row); $row[17] = ltrim($row[17], "'"); $row[17] = rtrim($row[17], "'"); return $row; } }