Merge pull request #2959 from VincentLanglet/writerSave
Add throws tag to Writer::save method
This commit is contained in:
commit
813c2c7c70
|
|
@ -55,7 +55,7 @@ $config
|
||||||
'function_declaration' => true,
|
'function_declaration' => true,
|
||||||
'function_to_constant' => true,
|
'function_to_constant' => true,
|
||||||
'function_typehint_space' => true,
|
'function_typehint_space' => true,
|
||||||
'general_phpdoc_annotation_remove' => ['annotations' => ['access', 'category', 'copyright', 'throws']],
|
'general_phpdoc_annotation_remove' => ['annotations' => ['access', 'category', 'copyright']],
|
||||||
'global_namespace_import' => true,
|
'global_namespace_import' => true,
|
||||||
'header_comment' => false, // We don't use common header in all our files
|
'header_comment' => false, // We don't use common header in all our files
|
||||||
'heredoc_indentation' => false, // Requires PHP >= 7.3
|
'heredoc_indentation' => false, // Requires PHP >= 7.3
|
||||||
|
|
|
||||||
|
|
@ -62,6 +62,8 @@ interface IWriter
|
||||||
* Save PhpSpreadsheet to file.
|
* Save PhpSpreadsheet to file.
|
||||||
*
|
*
|
||||||
* @param resource|string $filename Name of the file to save
|
* @param resource|string $filename Name of the file to save
|
||||||
|
*
|
||||||
|
* @throws Exception
|
||||||
*/
|
*/
|
||||||
public function save($filename, int $flags = 0): void;
|
public function save($filename, int $flags = 0): void;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue