Skip to content

Commit

Permalink
style: resolve style guide violations
Browse files Browse the repository at this point in the history
  • Loading branch information
ItsANameToo authored and actions-user committed Dec 18, 2024
1 parent a49381e commit e27531f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
3 changes: 1 addition & 2 deletions src/Transactions/Builder/MultipaymentBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
use ArkEcosystem\Crypto\Enums\ContractAddresses;
use ArkEcosystem\Crypto\Transactions\Types\AbstractTransaction;
use ArkEcosystem\Crypto\Transactions\Types\Multipayment;
use Exception;

class MultipaymentBuilder extends AbstractTransactionBuilder
{
Expand All @@ -29,7 +28,7 @@ public function pay(string $address, string $amount): self

$this->transaction->refreshPayloadData();

$this->transaction->data['value']+= $amount;
$this->transaction->data['value'] += $amount;

return $this;
}
Expand Down
2 changes: 0 additions & 2 deletions src/Utils/AbiEncoder.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,6 @@ private function getAbiItem(array $abi, string $name, array $args): array
}
}



throw new Exception("Function with matching arguments not found in ABI: $name");
}

Expand Down
3 changes: 1 addition & 2 deletions tests/Unit/Transactions/Builder/MultipaymentBuilderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

namespace ArkEcosystem\Tests\Crypto\Unit\Transactions\Builder;

use ArkEcosystem\Crypto\Exceptions\InvalidUsernameException;
use ArkEcosystem\Crypto\Transactions\Builder\MultipaymentBuilder;
use ArkEcosystem\Tests\Crypto\TestCase;

Expand Down Expand Up @@ -59,7 +58,7 @@ public function it_should_handle_single_recipient()

// }

/** @test */
/* @test */
// public function it_should_handle_empty_payment()
// {
// $fixture = $this->getTransactionFixture('evm_call', 'multipayment-0');
Expand Down

0 comments on commit e27531f

Please sign in to comment.