Rename Web3\Formatters\Integer to Web3\Formatters\IntegerFormatter
This commit is contained in:
parent
bb523cc04b
commit
725541a37f
@ -14,7 +14,7 @@ namespace Web3\Contracts;
|
||||
use InvalidArgumentException;
|
||||
use stdClass;
|
||||
use Web3\Utils;
|
||||
use Web3\Formatters\Integer as IntegerFormatter;
|
||||
use Web3\Formatters\IntegerFormatter;
|
||||
|
||||
class Ethabi
|
||||
{
|
||||
|
@ -12,7 +12,7 @@
|
||||
namespace Web3\Contracts;
|
||||
|
||||
use Web3\Utils;
|
||||
use Web3\Formatters\Integer as IntegerFormatter;
|
||||
use Web3\Formatters\IntegerFormatter;
|
||||
|
||||
class SolidityType
|
||||
{
|
||||
|
@ -15,7 +15,7 @@ use InvalidArgumentException;
|
||||
use Web3\Contracts\SolidityType;
|
||||
use Web3\Contracts\Types\IType;
|
||||
use Web3\Utils;
|
||||
use Web3\Formatters\Integer as IntegerFormatter;
|
||||
use Web3\Formatters\IntegerFormatter;
|
||||
|
||||
class Address extends SolidityType implements IType
|
||||
{
|
||||
|
@ -14,7 +14,7 @@ namespace Web3\Contracts\Types;
|
||||
use Web3\Utils;
|
||||
use Web3\Contracts\SolidityType;
|
||||
use Web3\Contracts\Types\IType;
|
||||
use Web3\Formatters\Integer as IntegerFormatter;
|
||||
use Web3\Formatters\IntegerFormatter;
|
||||
use Web3\Formatters\BigNumberFormatter;
|
||||
|
||||
class Integer extends SolidityType implements IType
|
||||
|
@ -14,7 +14,7 @@ namespace Web3\Contracts\Types;
|
||||
use Web3\Utils;
|
||||
use Web3\Contracts\SolidityType;
|
||||
use Web3\Contracts\Types\IType;
|
||||
use Web3\Formatters\Integer as IntegerFormatter;
|
||||
use Web3\Formatters\IntegerFormatter;
|
||||
use Web3\Formatters\BigNumberFormatter;
|
||||
|
||||
class Str extends SolidityType implements IType
|
||||
|
@ -14,7 +14,7 @@ namespace Web3\Contracts\Types;
|
||||
use Web3\Utils;
|
||||
use Web3\Contracts\SolidityType;
|
||||
use Web3\Contracts\Types\IType;
|
||||
use Web3\Formatters\Integer as IntegerFormatter;
|
||||
use Web3\Formatters\IntegerFormatter;
|
||||
use Web3\Formatters\BigNumberFormatter;
|
||||
|
||||
class Uinteger extends SolidityType implements IType
|
||||
|
@ -14,7 +14,7 @@ namespace Web3\Formatters;
|
||||
use InvalidArgumentException;
|
||||
use Web3\Utils;
|
||||
use Web3\Formatters\IFormatter;
|
||||
use Web3\Formatters\Integer as IntegerFormatter;
|
||||
use Web3\Formatters\IntegerFormatter;
|
||||
|
||||
class AddressFormatter implements IFormatter
|
||||
{
|
||||
|
@ -15,7 +15,7 @@ use InvalidArgumentException;
|
||||
use Web3\Utils;
|
||||
use Web3\Formatters\IFormatter;
|
||||
|
||||
class Integer implements IFormatter
|
||||
class IntegerFormatter implements IFormatter
|
||||
{
|
||||
/**
|
||||
* format
|
@ -9,7 +9,7 @@ use Web3\RequestManagers\HttpRequestManager;
|
||||
use Web3\Contract;
|
||||
use Web3\Utils;
|
||||
use Web3\Contracts\Ethabi;
|
||||
use Web3\Formatters\Integer as IntegerFormatter;
|
||||
use Web3\Formatters\IntegerFormatter;
|
||||
|
||||
class ContractTest extends TestCase
|
||||
{
|
||||
|
@ -3,7 +3,7 @@
|
||||
namespace Test\Unit;
|
||||
|
||||
use Test\TestCase;
|
||||
use Web3\Formatters\Integer;
|
||||
use Web3\Formatters\IntegerFormatter;
|
||||
|
||||
class IntegerFormatterTest extends TestCase
|
||||
{
|
||||
@ -22,7 +22,7 @@ class IntegerFormatterTest extends TestCase
|
||||
public function setUp()
|
||||
{
|
||||
parent::setUp();
|
||||
$this->formatter = new Integer;
|
||||
$this->formatter = new IntegerFormatter;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user