Fixed PHP warning for taxonomy Walker class

Signed-off-by: Elliot Condon <e@elliotcondon.com>