Strict typing for PHP7