Updating the project to PHP 7.1
Adding parameter and return value type hints.
Dropping extra case manipulations with language/currency parameters; if you pass in, e.g. Lv
instead of lv
or eur
instead of EUR
, you will now get an exception. Previously the code trimmed and upper-cased these parameters.