From 70d3a78c36fba33b33b8b57eb59f003aa551c412 Mon Sep 17 00:00:00 2001 From: Tomas Date: Fri, 28 Jul 2023 06:50:51 +0300 Subject: [PATCH] Fix ComponentAttributes constructor typehint and remove internal --- src/TwigComponent/src/ComponentAttributes.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/TwigComponent/src/ComponentAttributes.php b/src/TwigComponent/src/ComponentAttributes.php index 8df6dff3983..ecd8f97918a 100644 --- a/src/TwigComponent/src/ComponentAttributes.php +++ b/src/TwigComponent/src/ComponentAttributes.php @@ -22,9 +22,7 @@ final class ComponentAttributes { /** - * @internal - * - * @param array $attributes + * @param array $attributes */ public function __construct(private array $attributes) { @@ -53,7 +51,7 @@ function (string $carry, string $key) { } /** - * @return array + * @return array */ public function all(): array {