Skip to content

Commit 871d58b

Browse files
authored
Merge pull request #463 from Simperfit/fix/fix-my-fasty-merge
fix: $id to $identifiers
2 parents 10fcd7b + 126ca36 commit 871d58b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/identifiers.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,9 @@ final class PersonDataProvider implements ItemDataProviderInterface, RestrictedD
4747
public function getItem(string $resourceClass, $identifiers, string $operationName = null, array $context = [])
4848
{
4949
// Our identifier is:
50-
// $id['code']
50+
// $identifiers['code']
5151
// although it's a string, it's not an instance of Uuid and we wanted to retrieve the timestamp of our time-based uuid:
52-
// $id['code']->getTimestamp()
52+
// $identifiers['code']->getTimestamp()
5353
}
5454

5555
/**

0 commit comments

Comments
 (0)