a four-year contract after Hertha and FC Basel agreed on a transfer fee of around €5 million. Return to Basel On 10 January 2018, FC Basel announced that Stocker would return to the club, signing a three and a half year contract dated up until June 2021. Under trainer Marcel Koller Basel won the Swiss Cup in the 2018–19 season. In the first round Basel beat FC Montlingen 3–0, in the second round Echallens Région 7–2 and in the round of 16 Winterthur 1–0. In the quarter finals Sion were defeated 4–2 after extra time and in the semi finals Zürich were defeated 3–1. All these games were played away from home. The final was held on the 19 May 2019 in the Stade de Suisse Wankdorf Bern against Thun. Striker Albian Ajeti scored the first goal, Fabian Frei the second for Basel, then Dejan Sorgić netted a goal for Thun, but the end result was 2–1 for Basel. Stocker played in five cup games and scored the two goals, these both being during the extra time in the match against Sion. On 17 May 2022, Basel announced that Stocker would retire from playing at the end of the 2021–22 season and will remain at the club as an assistant to the sporting director. Five days later, on 22 May, Stocker was substituted in to play the final 14 Minutes of his last professional game. During his time with the club Stocker won the Swiss championship six times and the Swiss Cup four times. Between the years 2007 and 2014 and again from 2018 to 2022 he played a total of 515 games for Basel scoring a total of 116 goals. 286 of these games were in the Swiss Super League, 33 in the Swiss Cup, 57 in the UEFA competitions (Champions League, Europa League and Conference League and 99 were friendly games. He scored 74 goal in the domestic league, 9 in the Cup and 18 in the European competitions, the other 15 were scored during the test games. In terms of the number of competitive games, which is 416, he is one of the top five in the club's history, and in terms of goals scored - although not a striker - he is 12th position in the historic FCB rankings. International career Stocker has played international football at various age levels, including Swiss U19 and Swiss U21.