Remove unused default view from Resources
Update type hint and php doc