Fix php version in composer.json
Fix typing when overriding array values.
Removed unused class namespace.