Update Observer.php syntax tidying