Skip to content

Commit

Permalink
Update HalResource.php
Browse files Browse the repository at this point in the history
Signed-off-by: Nathanael Esayeas <[email protected]>
  • Loading branch information
ghostwriter committed Jul 15, 2023
1 parent b0f6d89 commit 0baf7dc
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/HalResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 0baf7dc

Please sign in to comment.