Skip to content

Commit

Permalink
Add missing apostrophe owner s to owner's (#5462)
Browse files Browse the repository at this point in the history
Co-authored-by: Arr00 <[email protected]>
  • Loading branch information
XxAlex74xX and arr00 authored Jan 28, 2025
1 parent 9cfcf8b commit 8e91d91
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions contracts/token/ERC20/ERC20.sol
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ abstract contract ERC20 is Context, IERC20, IERC20Metadata, IERC20Errors {
}

/**
* @dev Sets `value` as the allowance of `spender` over the `owner` s tokens.
* @dev Sets `value` as the allowance of `spender` over the `owner`'s tokens.
*
* This internal function is equivalent to `approve`, and can be used to
* e.g. set automatic allowances for certain subsystems, etc.
Expand Down Expand Up @@ -291,7 +291,7 @@ abstract contract ERC20 is Context, IERC20, IERC20Metadata, IERC20Errors {
}

/**
* @dev Updates `owner` s allowance for `spender` based on spent `value`.
* @dev Updates `owner`'s allowance for `spender` based on spent `value`.
*
* Does not update the allowance value in case of infinite allowance.
* Revert if not enough allowance is available.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ abstract contract ERC20TemporaryApproval is ERC20, IERC7674 {
}

/**
* @dev Sets `value` as the temporary allowance of `spender` over the `owner` s tokens.
* @dev Sets `value` as the temporary allowance of `spender` over the `owner`'s tokens.
*
* This internal function is equivalent to `temporaryApprove`, and can be used to e.g. set automatic allowances
* for certain subsystems, etc.
Expand Down

0 comments on commit 8e91d91

Please sign in to comment.