Skip to content

Commit

Permalink
remove phpstorm dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
danepowell committed Aug 19, 2024
1 parent c7878c1 commit cbdd9f6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/SelfUpdateCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

namespace SelfUpdate;

use JetBrains\PhpStorm\NoReturn;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputInterface;
Expand Down Expand Up @@ -130,6 +129,8 @@ protected function execute(InputInterface $input, OutputInterface $output): int

return Command::FAILURE;
}
// This will never be reached, but it keeps static analysis tools happy :)
return Command::SUCCESS;
}

/**
Expand All @@ -140,7 +141,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
*
* @return void
*/
#[NoReturn] protected function _exit(): void {
protected function _exit(): void {
exit;
}
}

0 comments on commit cbdd9f6

Please sign in to comment.