Casey Affleck has praised Jennifer Garner for helping to inspire his brother Ben Affleck to head to rehab.