Fix code style

This commit is contained in:
Jaapio
2021-08-26 22:32:25 +02:00
parent c5e702d299
commit 6fa60f9f08
9 changed files with 13 additions and 12 deletions
-1
View File
@@ -17,7 +17,6 @@ use phpDocumentor\Reflection\Types\Context as TypeContext;
use phpDocumentor\Reflection\Utils;
use function count;
use function explode;
use function implode;
use function ltrim;
use function min;
+1 -3
View File
@@ -42,9 +42,7 @@ class Serializer
/** @var Formatter A custom tag formatter. */
protected $tagFormatter;
/**
* @var string
*/
/** @var string */
private $lineEnding;
/**
-1
View File
@@ -21,7 +21,6 @@ interface Tag
/**
* @return Tag|mixed Class that implements Tag
*
* @phpstan-return ?Tag
*/
public static function create(string $body);
+1 -4
View File
@@ -59,7 +59,6 @@ final class Method extends BaseTag implements Factory\StaticMethod
/**
* @param array<int, array<string, Type|string>> $arguments
*
* @phpstan-param array<int, array{name: string, type: Type}|string> $arguments
*/
public function __construct(
@@ -186,7 +185,6 @@ final class Method extends BaseTag implements Factory\StaticMethod
/**
* @return array<int, array<string, Type|string>>
*
* @phpstan-return array<int, array{name: string, type: Type}>
*/
public function getArguments(): array
@@ -239,10 +237,9 @@ final class Method extends BaseTag implements Factory\StaticMethod
/**
* @param mixed[][]|string[] $arguments
* @phpstan-param array<int, array{name: string, type: Type}|string> $arguments
*
* @return mixed[][]
*
* @phpstan-param array<int, array{name: string, type: Type}|string> $arguments
* @phpstan-return array<int, array{name: string, type: Type}>
*/
private function filterArguments(array $arguments = []): array