Skip to content

Commit 6523e1d

Browse files
committed
chore(metadata): remove stale 3.0 TODO in IdentifiersExtractor
resolveIdentifierValue already resolves via instanceof \Stringable (plus scalar and BackedEnum); the TODO about a 3.0 cleanup is obsolete.
1 parent 1e6d13a commit 6523e1d

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

src/Metadata/IdentifiersExtractor.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -177,11 +177,6 @@ private function getIdentifierValue(object $item, string $class, string $propert
177177
throw new RuntimeException('Not able to retrieve identifiers.');
178178
}
179179

180-
/**
181-
* TODO: in 3.0 this method just uses $identifierValue instanceof \Stringable and we remove the weird behavior.
182-
*
183-
* @param mixed|\Stringable $identifierValue
184-
*/
185180
private function resolveIdentifierValue(mixed $identifierValue, string $parameterName): float|bool|int|string
186181
{
187182
if (null === $identifierValue) {

0 commit comments

Comments
 (0)