Skip to content

Commit cf85ae0

Browse files
committed
PHPStan fixes
1 parent da3d3c3 commit cf85ae0

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

src/WP_Export_Split_Files_Writer.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,11 @@ class WP_Export_Split_Files_Writer extends WP_Export_Base_Writer {
2222
);
2323
private $subsequent_sections = array();
2424

25-
public function __construct( $formatter, $writer_args = [] ) {
25+
/**
26+
* @param class-string $formatter
27+
* @param array{max_file_size: int, destination_directory: string, filename_template: string, include_once: string[], exclude: string[]} $writer_args
28+
*/
29+
public function __construct( $formatter, $writer_args ) {
2630
parent::__construct( $formatter );
2731

2832
if ( ! defined( 'MB_IN_BYTES' ) ) {

0 commit comments

Comments
 (0)