diff --git a/src/Http/Message.php b/src/Http/Message.php index 53d8179..e3eeb19 100644 --- a/src/Http/Message.php +++ b/src/Http/Message.php @@ -58,7 +58,7 @@ public function getHeaders(): array } /** - * {@inheritDoc} + * @inheritDoc * * @throws RuntimeException */ @@ -73,7 +73,7 @@ public function getBody(): StreamInterface } /** - * {@inheritDoc} + * @inheritDoc */ #[Override] public function getProtocolVersion(): string @@ -82,7 +82,7 @@ public function getProtocolVersion(): string } /** - * {@inheritDoc} + * @inheritDoc */ #[Override] public function hasHeader(string $name): bool @@ -91,7 +91,7 @@ public function hasHeader(string $name): bool } /** - * {@inheritDoc} + * @inheritDoc */ #[Override] public function getHeader(string $name): array @@ -104,7 +104,7 @@ public function getHeader(string $name): array } /** - * {@inheritDoc} + * @inheritDoc */ #[Override] public function getHeaderLine(string $name): string @@ -117,7 +117,7 @@ public function getHeaderLine(string $name): string } /** - * {@inheritDoc} + * @inheritDoc */ #[Override] public function withHeader(string $name, $value): self @@ -135,7 +135,7 @@ public function withHeader(string $name, $value): self } /** - * {@inheritDoc} + * @inheritDoc */ #[Override] public function withProtocolVersion(string $version): self @@ -147,7 +147,7 @@ public function withProtocolVersion(string $version): self } /** - * {@inheritDoc} + * @inheritDoc */ #[Override] public function withAddedHeader(string $name, $value): self @@ -171,7 +171,7 @@ public function withAddedHeader(string $name, $value): self } /** - * {@inheritDoc} + * @inheritDoc */ #[Override] public function withoutHeader(string $name): MessageInterface @@ -183,7 +183,7 @@ public function withoutHeader(string $name): MessageInterface } /** - * {@inheritDoc} + * @inheritDoc */ #[Override] public function withBody(StreamInterface $body): MessageInterface diff --git a/src/Http/Request.php b/src/Http/Request.php index d3313ae..2599917 100644 --- a/src/Http/Request.php +++ b/src/Http/Request.php @@ -199,7 +199,7 @@ public static function forDelete(Uri $uri, ?Headers $headers = null, string $ver } /** - * {@inheritDoc} + * @inheritDoc */ #[Override] public function getMethod(): string @@ -208,7 +208,7 @@ public function getMethod(): string } /** - * {@inheritDoc} + * @inheritDoc */ #[Override] public function withMethod(string $method): self @@ -222,7 +222,7 @@ public function withMethod(string $method): self } /** - * {@inheritDoc} + * @inheritDoc */ #[Override] public function getUri(): UriInterface @@ -231,7 +231,7 @@ public function getUri(): UriInterface } /** - * {@inheritDoc} + * @inheritDoc * * @throws InvalidArgumentException */ @@ -262,7 +262,7 @@ public function withUri(UriInterface $uri, bool $preserveHost = false): self } /** - * {@inheritDoc} + * @inheritDoc */ #[Override] public function getRequestTarget(): string @@ -275,7 +275,7 @@ public function getRequestTarget(): string } /** - * {@inheritDoc} + * @inheritDoc */ #[Override] public function withRequestTarget(string $requestTarget): self diff --git a/src/Stream/Stream.php b/src/Stream/Stream.php index bafb72a..5f31479 100644 --- a/src/Stream/Stream.php +++ b/src/Stream/Stream.php @@ -107,7 +107,7 @@ public static function fromFile(string $file, string $mode = 'r+'): self } /** - * {@inheritDoc} + * @inheritDoc */ #[Override] public function __toString(): string @@ -123,7 +123,7 @@ public function __toString(): string } /** - * {@inheritDoc} + * @inheritDoc */ #[Override] public function appendStream(AppendableStream $stream): int @@ -146,7 +146,7 @@ public function appendStream(AppendableStream $stream): int } /** - * {@inheritDoc} + * @inheritDoc */ #[Override] public function getResource(): mixed @@ -155,7 +155,7 @@ public function getResource(): mixed } /** - * {@inheritDoc} + * @inheritDoc */ #[Override] public function close(): void @@ -168,7 +168,7 @@ public function close(): void } /** - * {@inheritDoc} + * @inheritDoc */ #[Override] public function detach() @@ -181,7 +181,7 @@ public function detach() } /** - * {@inheritDoc} + * @inheritDoc */ #[Override] public function getSize(): ?int @@ -196,7 +196,7 @@ public function getSize(): ?int } /** - * {@inheritDoc} + * @inheritDoc */ #[Override] public function tell(): int @@ -212,7 +212,7 @@ public function tell(): int } /** - * {@inheritDoc} + * @inheritDoc */ #[Override] public function eof(): bool @@ -226,7 +226,7 @@ public function eof(): bool } /** - * {@inheritDoc} + * @inheritDoc */ #[Override] public function isSeekable(): bool @@ -246,7 +246,7 @@ public function isSeekable(): bool } /** - * {@inheritDoc} + * @inheritDoc */ #[Override] public function seek(int $offset, int $whence = SEEK_SET): void @@ -260,7 +260,7 @@ public function seek(int $offset, int $whence = SEEK_SET): void } /** - * {@inheritDoc} + * @inheritDoc */ #[Override] public function rewind(): void @@ -275,7 +275,7 @@ public function rewind(): void } /** - * {@inheritDoc} + * @inheritDoc */ #[Override] public function write(string $string): int @@ -293,7 +293,7 @@ public function write(string $string): int } /** - * {@inheritDoc} + * @inheritDoc */ #[Override] public function isWritable(): bool @@ -314,7 +314,7 @@ public function isWritable(): bool } /** - * {@inheritDoc} + * @inheritDoc */ #[Override] public function isReadable(): bool @@ -335,7 +335,7 @@ public function isReadable(): bool } /** - * {@inheritDoc} + * @inheritDoc */ #[Override] public function read(int $length): string @@ -353,7 +353,7 @@ public function read(int $length): string } /** - * {@inheritDoc} + * @inheritDoc * * This function reads the complete stream from the CURRENT! file pointer. If you * want ensure to read the complete stream use __toString() instead. @@ -374,7 +374,7 @@ public function getContents(): string } /** - * {@inheritDoc} + * @inheritDoc */ #[Override] public function getMetadata(?string $key = null): mixed diff --git a/tests/Integration/ResponseTest.php b/tests/Integration/ResponseTest.php index 9627f34..2b425c7 100644 --- a/tests/Integration/ResponseTest.php +++ b/tests/Integration/ResponseTest.php @@ -24,9 +24,6 @@ protected function buildStream($data) return Utils::streamFor($data); } - /** - * {@inheritDoc} - */ public function createSubject(): Response { return new Response(200, '1.1'); diff --git a/tests/Integration/UriTest.php b/tests/Integration/UriTest.php index 434453d..0a6f7c7 100644 --- a/tests/Integration/UriTest.php +++ b/tests/Integration/UriTest.php @@ -14,9 +14,6 @@ #[\PHPUnit\Framework\Attributes\CoversClass(Uri::class)] class UriTest extends TestCase { - /** - * {@inheritDoc} - */ public function createUri(string $uri) { return Uri::fromString($uri); diff --git a/tests/Unit/Client/ArtemeonHttpClientTest.php b/tests/Unit/Client/ArtemeonHttpClientTest.php index 028ab09..fd29ad4 100644 --- a/tests/Unit/Client/ArtemeonHttpClientTest.php +++ b/tests/Unit/Client/ArtemeonHttpClientTest.php @@ -60,7 +60,7 @@ class ArtemeonHttpClientTest extends TestCase private ClientOptionsConverter | MockInterface $clientOptionsConverter; /** - * {@inheritDoc} + * @inheritDoc */ #[Override] protected function setUp(): void diff --git a/tests/Unit/Client/HttpClientLogDecoratorTest.php b/tests/Unit/Client/HttpClientLogDecoratorTest.php index c6b58fc..4825edb 100644 --- a/tests/Unit/Client/HttpClientLogDecoratorTest.php +++ b/tests/Unit/Client/HttpClientLogDecoratorTest.php @@ -42,7 +42,7 @@ class HttpClientLogDecoratorTest extends TestCase private ClientOptions $clientOptions; /** - * {@inheritDoc} + * @inheritDoc */ #[Override] protected function setUp(): void diff --git a/tests/Unit/Stream/StreamTest.php b/tests/Unit/Stream/StreamTest.php index 0b40226..67846ee 100644 --- a/tests/Unit/Stream/StreamTest.php +++ b/tests/Unit/Stream/StreamTest.php @@ -75,7 +75,7 @@ class StreamTest extends TestCase private vfsStreamDirectory $filesystem; /** - * {@inheritDoc} + * @inheritDoc */ #[Override] protected function setUp(): void @@ -92,7 +92,7 @@ protected function setUp(): void } /** - * {@inheritDoc} + * @inheritDoc */ #[Override] protected function tearDown(): void