Skip to content

Commit 76bc89b

Browse files
committed
Accept nullable entity
1 parent 2118df9 commit 76bc89b

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

src/Builder/Builder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public function __construct(
7171
/**
7272
* @param ServerRequestInterface $request
7373
* @param ResponseInterface $response
74-
* @param object|Array<object> $entity
74+
* @param object|Array<object>|null $entity
7575
* @param int|null $totalCount
7676
*
7777
* @return ResponseInterface

src/Hydrators/Hydrator.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,9 +109,6 @@ abstract class Hydrator
109109
/** @var Localization\Translator */
110110
protected Localization\Translator $translator;
111111

112-
/** @var string */
113-
protected string $translationDomain = '';
114-
115112
/** @var mixed[]|null */
116113
private ?array $normalizedAttributes = null;
117114

0 commit comments

Comments
 (0)