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.
Fixes #1485
See https://github.com/shaarli/Shaarli/issues/1307
See https://github.com/shaarli/Shaarli/issues/1307 for details