Skip to content

Commit

Permalink
style(commands): Remove unnecessary annotations
Browse files Browse the repository at this point in the history
- Removed unnecessary annotations in BuildCommand and ConfigCommand
- Removed unnecessary annotations in Handler
  • Loading branch information
[email protected] committed Jun 12, 2024
1 parent 323fbdf commit b98a742
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 7 deletions.
3 changes: 0 additions & 3 deletions app/Commands/BuildCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,6 @@ public function __destruct()

/**
* @psalm-suppress UndefinedInterfaceMethod
* @noinspection ReturnTypeCanBeDeclaredInspection
* @noinspection PhpMissingReturnTypeInspection
* @noinspection PhpMissingParentCallCommonInspection
*/
public function isEnabled(): bool
Expand Down Expand Up @@ -186,7 +184,6 @@ private function compile(string $name): self
}

/**
* @noinspection DebugFunctionUsageInspection
* @noinspection UsingInclusionReturnValueInspection
*
* @throws \JsonException
Expand Down
1 change: 0 additions & 1 deletion app/Commands/ConfigCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,6 @@ private function argToValue(string $arg)
/**
* @param mixed $value
*
* @noinspection DebugFunctionUsageInspection
* @noinspection JsonEncodingApiUsageInspection
*/
private function valueToArg($value): string
Expand Down
3 changes: 0 additions & 3 deletions app/Exceptions/Handler.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,6 @@ public function renderForConsole($output, \Throwable $e): void

/**
* {@inheritDoc}
*
* @noinspection ReturnTypeCanBeDeclaredInspection
* @noinspection PhpMissingReturnTypeInspection
*/
protected function shouldntReport(\Throwable $e): bool
{
Expand Down

0 comments on commit b98a742

Please sign in to comment.