Fix PHP Stan errors
This commit is contained in:
1 parent
0345b369c7
commit
75c06807af
2 files changed
+6
No files matched your search
@@ -50,6 +50,7 @@ class WriterEntityFactory
|
||||
return WriterFactory::createFromType(Type::CSV);
|
||||
} catch (UnsupportedTypeException $e) {
|
||||
// should never happen
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -64,6 +65,7 @@ class WriterEntityFactory
|
||||
return WriterFactory::createFromType(Type::XLSX);
|
||||
} catch (UnsupportedTypeException $e) {
|
||||
// should never happen
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -78,6 +80,7 @@ class WriterEntityFactory
|
||||
return WriterFactory::createFromType(Type::ODS);
|
||||
} catch (UnsupportedTypeException $e) {
|
||||
// should never happen
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user