Related to #95
Parameters typing and using strict types overall increase the codebase quality by enforcing the a given parameter will have the expected type. It also removes the need to unnecessary unit tests checking methods behavior with invalid input.
Converted automatically using https://github.com/ArthurHoaro/convert-legacy-phpunit-expect
See #1307