The Marlins have signed infielder/outfielder Yangervis Solarte to a minor league contract, Roster Roundup reports.

Miami’s the second team of 2019 for Solarte, who cracked the Giants’ season-opening roster after signing a minors pact with them over the winter. However, the switch-hitting Solarte didn’t prove to be part of the solution for San Francisco’s dreadful offense, slashing .205/.247/.315 (48 wRC+) with one home run in 78 plate appearances. As a result, the Giants released him in early May.

While the 31-year-old Solarte was a solid contributor with the Yankees and Padres from 2014-17, those days appear long gone. His struggles in San Francisco came on the heels of a difficult 2018 campaign spent in Toronto, with which he batted .226/.277/.378 (77 wRC+) with 17 homers in 506 trips to the plate. Solarte has continued to show defensive versatility even as his offense has tanked, though. Dating back to last season, he has logged double-digit appearances at second base, third and shortstop. He also picked up nine appearances in left field with the Giants.