diff --git a/build-ci.rb b/build-ci.rb index 81b76d2bdc6..b29cbf14dfa 100755 --- a/build-ci.rb +++ b/build-ci.rb @@ -99,7 +99,7 @@ def self.current_projects # # @param [String] message # - # @return [undefined] + # @return [void] def self.log(message) $stderr.puts(message) end @@ -151,7 +151,7 @@ def bundle_install # Setup the test app # - # @return [undefined] + # @return [void] def setup_test_app system(%w[bundle exec rake test_app]) || fail('Failed to setup the test app') end @@ -185,7 +185,7 @@ def system(arguments) # Change to subproject directory and execute block # - # @return [undefined] + # @return [void] def chdir(&block) Dir.chdir(ROOT.join(name), &block) end diff --git a/core/app/models/spree/wallet/add_payment_sources_to_wallet.rb b/core/app/models/spree/wallet/add_payment_sources_to_wallet.rb index 6e1d359be1f..8d57db428bd 100644 --- a/core/app/models/spree/wallet/add_payment_sources_to_wallet.rb +++ b/core/app/models/spree/wallet/add_payment_sources_to_wallet.rb @@ -9,7 +9,7 @@ def initialize(order) # This is called after an order transistions to complete and should save the # order's payment source/s in the user's "wallet" for future use. # - # @return [undefined] + # @return [void] def add_to_wallet if !order.temporary_credit_card && order.user_id &&