To add to this reply, the tutorial currently displays the HTML entity for the double arrow operator (=> is displayed as
=>
).
e.g, the tutorial shows:
$result = ['result' => ($n1 + $n2)];
and in code this should be:
$result = ['result' => ($n1 + $n2)];