Skip to content

Commit b98a742

Browse files
author
ityaozm@gmail.com
committed
style(commands): Remove unnecessary annotations
- Removed unnecessary annotations in BuildCommand and ConfigCommand - Removed unnecessary annotations in Handler
1 parent 323fbdf commit b98a742

File tree

3 files changed

+0
-7
lines changed

3 files changed

+0
-7
lines changed

app/Commands/BuildCommand.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,6 @@ public function __destruct()
7878

7979
/**
8080
* @psalm-suppress UndefinedInterfaceMethod
81-
* @noinspection ReturnTypeCanBeDeclaredInspection
82-
* @noinspection PhpMissingReturnTypeInspection
8381
* @noinspection PhpMissingParentCallCommonInspection
8482
*/
8583
public function isEnabled(): bool
@@ -186,7 +184,6 @@ private function compile(string $name): self
186184
}
187185

188186
/**
189-
* @noinspection DebugFunctionUsageInspection
190187
* @noinspection UsingInclusionReturnValueInspection
191188
*
192189
* @throws \JsonException

app/Commands/ConfigCommand.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,6 @@ private function argToValue(string $arg)
237237
/**
238238
* @param mixed $value
239239
*
240-
* @noinspection DebugFunctionUsageInspection
241240
* @noinspection JsonEncodingApiUsageInspection
242241
*/
243242
private function valueToArg($value): string

app/Exceptions/Handler.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,6 @@ public function renderForConsole($output, \Throwable $e): void
3434

3535
/**
3636
* {@inheritDoc}
37-
*
38-
* @noinspection ReturnTypeCanBeDeclaredInspection
39-
* @noinspection PhpMissingReturnTypeInspection
4037
*/
4138
protected function shouldntReport(\Throwable $e): bool
4239
{

0 commit comments

Comments
 (0)