Skip to content

Commit

Permalink
chore: updated README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
petrknap committed Jun 29, 2024
1 parent 89b2ed4 commit 9908018
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ namespace PetrKnap\CriticalSection;
use Symfony\Component\Lock\NoLock;

/** @param Locked<Some\Resource> $resource */
function f(Locked $resource) {
function f(LockedResource $resource) {
echo $resource->value;
}

Expand Down

0 comments on commit 9908018

Please sign in to comment.