Update Menu.php

Allowed shorthand MenuItem/MenuCommand additions by also using arrays instead of just the objects themselves.