* @param $code Code number for the exception
* @return void
*/
- public function __construct (SplFileInfo $infoInstance, $code) {
+ public function __construct (SplFileInfo $infoInstance, int $code) {
// Add a message around the missing class
$message = sprintf('A problem has been detected reading or writing to/from %s.', $infoInstance->getPathname());