Skip to content

Commit

Permalink
refactor: use named args when calling "deploy"
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulRBerg committed Feb 13, 2023
1 parent 7fa6e7f commit 7d55262
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/PRBProxyFactory.sol
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ contract PRBProxyFactory is IPRBProxyFactory {

/// @inheritdoc IPRBProxyFactory
function deploy() external override returns (IPRBProxy proxy) {
proxy = deployFor(msg.sender);
proxy = deployFor({ owner: msg.sender });
}

/// @inheritdoc IPRBProxyFactory
Expand Down
2 changes: 1 addition & 1 deletion src/PRBProxyRegistry.sol
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ contract PRBProxyRegistry is IPRBProxyRegistry {

/// @inheritdoc IPRBProxyRegistry
function deploy() external override returns (IPRBProxy proxy) {
proxy = deployFor(msg.sender);
proxy = deployFor({ owner: msg.sender });
}

/// @inheritdoc IPRBProxyRegistry
Expand Down

0 comments on commit 7d55262

Please sign in to comment.