Skip to content

Commit 2b3ab3f

Browse files
Copilotswissspidy
andcommitted
Move @phpstan-ignore to same line as array parameter
Co-authored-by: swissspidy <841956+swissspidy@users.noreply.github.com>
1 parent 40707dc commit 2b3ab3f

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/Export_Command.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -187,18 +187,16 @@ static function ( $file_path ) {
187187

188188
try {
189189
if ( $this->stdout ) {
190-
/** @phpstan-ignore argument.type */
191190
wp_export(
192-
[
191+
[ // @phpstan-ignore argument.type
193192
'filters' => $this->export_args,
194193
'writer' => WP_Export_File_Writer::class,
195194
'writer_args' => 'php://output',
196195
]
197196
);
198197
} else {
199-
/** @phpstan-ignore argument.type */
200198
wp_export(
201-
[
199+
[ // @phpstan-ignore argument.type
202200
'filters' => $this->export_args,
203201
'writer' => WP_Export_Split_Files_Writer::class,
204202
'writer_args' => [

0 commit comments

Comments
 (0)