Update GraphNavigator.php

extract resolve type to method, update docblocks
These lines don't document any method.