Update HomepageForDomainExtension.php

As extraStatics are deprecated in 3.1 => updated to "normal" static use.