From d028cb7696b01f67b44925929cacb3aeca65a38f Mon Sep 17 00:00:00 2001 From: zorzal Date: Wed, 27 Nov 2024 08:16:38 -0500 Subject: [PATCH] feat: use return variable instead of explicit return --- .../contracts/examples/modules/access/WhitelistAccessModule.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/solidity/contracts/examples/modules/access/WhitelistAccessModule.sol b/solidity/contracts/examples/modules/access/WhitelistAccessModule.sol index edb8564..d2cd181 100644 --- a/solidity/contracts/examples/modules/access/WhitelistAccessModule.sol +++ b/solidity/contracts/examples/modules/access/WhitelistAccessModule.sol @@ -17,7 +17,7 @@ contract WhitelistAccessModule is Module, IWhitelistAccessModule { /// @inheritdoc IModule function moduleName() external pure returns (string memory _moduleName) { - return 'WhitelistAccessModule'; + _moduleName = 'WhitelistAccessModule'; } /// @inheritdoc IAccessModule