Correct PHP error in `run_action` sample

Props @Giuseppe-Mazzapica

Fixes #1