Skip to content

Commit f1faf9a

Browse files
Remove always true/false occurrences
1 parent 3fec76a commit f1faf9a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Tests/Command/XliffLintCommandTest.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -215,9 +215,7 @@ private function createCommand($requireStrictFileNames = true, $application = nu
215215

216216
$command = $application->find('lint:xliff');
217217

218-
if ($application) {
219-
$command->setApplication($application);
220-
}
218+
$command->setApplication($application);
221219

222220
return $command;
223221
}

0 commit comments

Comments
 (0)