Skip to content

Commit 87986b1

Browse files
authored
Remove void return type from FixCommand::validateOptions()
Void return type was added PHP 7.1 whereas all documentation suggests backward compatibility with PHP 7.0
1 parent 59a5f29 commit 87986b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Console/FixCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ protected function getResolver(): ConfigurationResolver
217217
return $resolver;
218218
}
219219

220-
protected function validateOptions(): void
220+
protected function validateOptions()
221221
{
222222
if (null !== $this->option('config') && null !== $this->option('rules')) {
223223
if (getenv('PHP_CS_FIXER_FUTURE_MODE')) {

0 commit comments

Comments
 (0)