From 0baf7dc9657987e71ff9a3f27570371783421d94 Mon Sep 17 00:00:00 2001 From: Nathanael Esayeas Date: Sat, 15 Jul 2023 05:50:10 -0500 Subject: [PATCH] Update HalResource.php Signed-off-by: Nathanael Esayeas --- src/HalResource.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/HalResource.php b/src/HalResource.php index 2b88240..8fb8477 100644 --- a/src/HalResource.php +++ b/src/HalResource.php @@ -49,8 +49,12 @@ class HalResource implements EvolvableLinkProviderInterface, JsonSerializable * @param LinkInterface[] $links * @param HalResource[][] $embedded */ - public function __construct(array $data = [], array $links = [], array $embedded = [], bool $embedEmptyCollections = false) - { + public function __construct( + array $data = [], + array $links = [], + array $embedded = [], + bool $embedEmptyCollections = false + ) { $this->embedEmptyCollections = $embedEmptyCollections; $context = self::class;