Set setUp() return type

This commit is contained in:
srdante 2022-02-26 02:43:32 -03:00
parent 2ae840f538
commit 91f4d2c40b
51 changed files with 51 additions and 51 deletions

View File

@ -19,7 +19,7 @@ class AddressFormatterTest extends TestCase
* *
* @return void * @return void
*/ */
public function setUp() public function setUp(): void
{ {
parent::setUp(); parent::setUp();
$this->formatter = new AddressFormatter; $this->formatter = new AddressFormatter;

View File

@ -47,7 +47,7 @@ class AddressTypeTest extends TestCase
* *
* @return void * @return void
*/ */
public function setUp() public function setUp(): void
{ {
parent::setUp(); parent::setUp();
$this->solidityType = new Address; $this->solidityType = new Address;

View File

@ -19,7 +19,7 @@ class AddressValidatorTest extends TestCase
* *
* @return void * @return void
*/ */
public function setUp() public function setUp(): void
{ {
parent::setUp(); parent::setUp();
$this->validator = new AddressValidator; $this->validator = new AddressValidator;

View File

@ -20,7 +20,7 @@ class BigNumberFormatterTest extends TestCase
* *
* @return void * @return void
*/ */
public function setUp() public function setUp(): void
{ {
parent::setUp(); parent::setUp();
$this->formatter = new BigNumberFormatter; $this->formatter = new BigNumberFormatter;

View File

@ -19,7 +19,7 @@ class BlockHashValidatorTest extends TestCase
* *
* @return void * @return void
*/ */
public function setUp() public function setUp(): void
{ {
parent::setUp(); parent::setUp();
$this->validator = new BlockHashValidator; $this->validator = new BlockHashValidator;

View File

@ -20,7 +20,7 @@ class BooleanFormatterTest extends TestCase
* *
* @return void * @return void
*/ */
public function setUp() public function setUp(): void
{ {
parent::setUp(); parent::setUp();
$this->formatter = new BooleanFormatter; $this->formatter = new BooleanFormatter;

View File

@ -47,7 +47,7 @@ class BooleanTypeTest extends TestCase
* *
* @return void * @return void
*/ */
public function setUp() public function setUp(): void
{ {
parent::setUp(); parent::setUp();
$this->solidityType = new Boolean; $this->solidityType = new Boolean;

View File

@ -19,7 +19,7 @@ class BooleanValidatorTest extends TestCase
* *
* @return void * @return void
*/ */
public function setUp() public function setUp(): void
{ {
parent::setUp(); parent::setUp();
$this->validator = new BooleanValidator; $this->validator = new BooleanValidator;

View File

@ -53,7 +53,7 @@ class BytesTypeTest extends TestCase
* *
* @return void * @return void
*/ */
public function setUp() public function setUp(): void
{ {
parent::setUp(); parent::setUp();
$this->solidityType = new Bytes; $this->solidityType = new Bytes;

View File

@ -19,7 +19,7 @@ class CallValidatorTest extends TestCase
* *
* @return void * @return void
*/ */
public function setUp() public function setUp(): void
{ {
parent::setUp(); parent::setUp();
$this->validator = new CallValidator; $this->validator = new CallValidator;

View File

@ -412,7 +412,7 @@ class ContractTest extends TestCase
* *
* @return void * @return void
*/ */
public function setUp() public function setUp(): void
{ {
parent::setUp(); parent::setUp();

View File

@ -53,7 +53,7 @@ class DynamicBytesTypeTest extends TestCase
* *
* @return void * @return void
*/ */
public function setUp() public function setUp(): void
{ {
parent::setUp(); parent::setUp();
$this->solidityType = new DynamicBytes; $this->solidityType = new DynamicBytes;

View File

@ -21,7 +21,7 @@ class EthApiTest extends TestCase
* *
* @return void * @return void
*/ */
public function setUp() public function setUp(): void
{ {
parent::setUp(); parent::setUp();

View File

@ -20,7 +20,7 @@ class EthBatchTest extends TestCase
* *
* @return void * @return void
*/ */
public function setUp() public function setUp(): void
{ {
parent::setUp(); parent::setUp();

View File

@ -23,7 +23,7 @@ class EthTest extends TestCase
* *
* @return void * @return void
*/ */
public function setUp() public function setUp(): void
{ {
parent::setUp(); parent::setUp();

View File

@ -163,7 +163,7 @@ class EthabiTest extends TestCase
* *
* @return void * @return void
*/ */
public function setUp() public function setUp(): void
{ {
parent::setUp(); parent::setUp();
// Error: Using $this when not in object context // Error: Using $this when not in object context

View File

@ -19,7 +19,7 @@ class FilterValidatorTest extends TestCase
* *
* @return void * @return void
*/ */
public function setUp() public function setUp(): void
{ {
parent::setUp(); parent::setUp();
$this->validator = new FilterValidator; $this->validator = new FilterValidator;

View File

@ -19,7 +19,7 @@ class HexFormatterTest extends TestCase
* *
* @return void * @return void
*/ */
public function setUp() public function setUp(): void
{ {
parent::setUp(); parent::setUp();
$this->formatter = new HexFormatter; $this->formatter = new HexFormatter;

View File

@ -19,7 +19,7 @@ class HexValidatorTest extends TestCase
* *
* @return void * @return void
*/ */
public function setUp() public function setUp(): void
{ {
parent::setUp(); parent::setUp();
$this->validator = new HexValidator; $this->validator = new HexValidator;

View File

@ -19,7 +19,7 @@ class IdentityValidatorTest extends TestCase
* *
* @return void * @return void
*/ */
public function setUp() public function setUp(): void
{ {
parent::setUp(); parent::setUp();
$this->validator = new IdentityValidator; $this->validator = new IdentityValidator;

View File

@ -19,7 +19,7 @@ class IntegerFormatterTest extends TestCase
* *
* @return void * @return void
*/ */
public function setUp() public function setUp(): void
{ {
parent::setUp(); parent::setUp();
$this->formatter = new IntegerFormatter; $this->formatter = new IntegerFormatter;

View File

@ -53,7 +53,7 @@ class IntegerTypeTest extends TestCase
* *
* @return void * @return void
*/ */
public function setUp() public function setUp(): void
{ {
parent::setUp(); parent::setUp();
$this->solidityType = new Integer; $this->solidityType = new Integer;

View File

@ -21,7 +21,7 @@ class NetApiTest extends TestCase
* *
* @return void * @return void
*/ */
public function setUp() public function setUp(): void
{ {
parent::setUp(); parent::setUp();

View File

@ -20,7 +20,7 @@ class NetBatchTest extends TestCase
* *
* @return void * @return void
*/ */
public function setUp() public function setUp(): void
{ {
parent::setUp(); parent::setUp();

View File

@ -23,7 +23,7 @@ class NetTest extends TestCase
* *
* @return void * @return void
*/ */
public function setUp() public function setUp(): void
{ {
parent::setUp(); parent::setUp();

View File

@ -19,7 +19,7 @@ class NonceValidatorTest extends TestCase
* *
* @return void * @return void
*/ */
public function setUp() public function setUp(): void
{ {
parent::setUp(); parent::setUp();
$this->validator = new NonceValidator; $this->validator = new NonceValidator;

View File

@ -19,7 +19,7 @@ class NumberFormatterTest extends TestCase
* *
* @return void * @return void
*/ */
public function setUp() public function setUp(): void
{ {
parent::setUp(); parent::setUp();
$this->formatter = new NumberFormatter; $this->formatter = new NumberFormatter;

View File

@ -19,7 +19,7 @@ class OptionalQuantityFormatterTest extends TestCase
* *
* @return void * @return void
*/ */
public function setUp() public function setUp(): void
{ {
parent::setUp(); parent::setUp();
$this->formatter = new OptionalQuantityFormatter; $this->formatter = new OptionalQuantityFormatter;

View File

@ -27,7 +27,7 @@ class PersonalApiTest extends TestCase
* *
* @return void * @return void
*/ */
public function setUp() public function setUp(): void
{ {
parent::setUp(); parent::setUp();

View File

@ -19,7 +19,7 @@ class PersonalBatchTest extends TestCase
* *
* @return void * @return void
*/ */
public function setUp() public function setUp(): void
{ {
parent::setUp(); parent::setUp();

View File

@ -23,7 +23,7 @@ class PersonalTest extends TestCase
* *
* @return void * @return void
*/ */
public function setUp() public function setUp(): void
{ {
parent::setUp(); parent::setUp();

View File

@ -19,7 +19,7 @@ class PostFormatterTest extends TestCase
* *
* @return void * @return void
*/ */
public function setUp() public function setUp(): void
{ {
parent::setUp(); parent::setUp();
$this->formatter = new PostFormatter; $this->formatter = new PostFormatter;

View File

@ -19,7 +19,7 @@ class PostValidatorTest extends TestCase
* *
* @return void * @return void
*/ */
public function setUp() public function setUp(): void
{ {
parent::setUp(); parent::setUp();
$this->validator = new PostValidator; $this->validator = new PostValidator;

View File

@ -19,7 +19,7 @@ class QuantityFormatterTest extends TestCase
* *
* @return void * @return void
*/ */
public function setUp() public function setUp(): void
{ {
parent::setUp(); parent::setUp();
$this->formatter = new QuantityFormatter; $this->formatter = new QuantityFormatter;

View File

@ -19,7 +19,7 @@ class QuantityValidatorTest extends TestCase
* *
* @return void * @return void
*/ */
public function setUp() public function setUp(): void
{ {
parent::setUp(); parent::setUp();
$this->validator = new QuantityValidator; $this->validator = new QuantityValidator;

View File

@ -21,7 +21,7 @@ class ShhApiTest extends TestCase
* *
* @return void * @return void
*/ */
public function setUp() public function setUp(): void
{ {
parent::setUp(); parent::setUp();

View File

@ -19,7 +19,7 @@ class ShhBatchTest extends TestCase
* *
* @return void * @return void
*/ */
public function setUp() public function setUp(): void
{ {
parent::setUp(); parent::setUp();

View File

@ -19,7 +19,7 @@ class ShhFilterValidatorTest extends TestCase
* *
* @return void * @return void
*/ */
public function setUp() public function setUp(): void
{ {
parent::setUp(); parent::setUp();
$this->validator = new ShhFilterValidator; $this->validator = new ShhFilterValidator;

View File

@ -23,7 +23,7 @@ class ShhTest extends TestCase
* *
* @return void * @return void
*/ */
public function setUp() public function setUp(): void
{ {
parent::setUp(); parent::setUp();

View File

@ -20,7 +20,7 @@ class SolidityTypeTest extends TestCase
* *
* @return void * @return void
*/ */
public function setUp() public function setUp(): void
{ {
parent::setUp(); parent::setUp();
$this->type = new SolidityType(); $this->type = new SolidityType();

View File

@ -47,7 +47,7 @@ class StrTypeTest extends TestCase
* *
* @return void * @return void
*/ */
public function setUp() public function setUp(): void
{ {
parent::setUp(); parent::setUp();
$this->solidityType = new Str; $this->solidityType = new Str;

View File

@ -19,7 +19,7 @@ class StringFormatterTest extends TestCase
* *
* @return void * @return void
*/ */
public function setUp() public function setUp(): void
{ {
parent::setUp(); parent::setUp();
$this->formatter = new StringFormatter; $this->formatter = new StringFormatter;

View File

@ -19,7 +19,7 @@ class StringValidatorTest extends TestCase
* *
* @return void * @return void
*/ */
public function setUp() public function setUp(): void
{ {
parent::setUp(); parent::setUp();
$this->validator = new StringValidator; $this->validator = new StringValidator;

View File

@ -19,7 +19,7 @@ class TagValidatorTest extends TestCase
* *
* @return void * @return void
*/ */
public function setUp() public function setUp(): void
{ {
parent::setUp(); parent::setUp();
$this->validator = new TagValidator; $this->validator = new TagValidator;

View File

@ -19,7 +19,7 @@ class TransactionFormatterTest extends TestCase
* *
* @return void * @return void
*/ */
public function setUp() public function setUp(): void
{ {
parent::setUp(); parent::setUp();
$this->formatter = new TransactionFormatter; $this->formatter = new TransactionFormatter;

View File

@ -19,7 +19,7 @@ class TransactionValidatorTest extends TestCase
* *
* @return void * @return void
*/ */
public function setUp() public function setUp(): void
{ {
parent::setUp(); parent::setUp();
$this->validator = new TransactionValidator; $this->validator = new TransactionValidator;

View File

@ -53,7 +53,7 @@ class UintegerTypeTest extends TestCase
* *
* @return void * @return void
*/ */
public function setUp() public function setUp(): void
{ {
parent::setUp(); parent::setUp();
$this->solidityType = new Uinteger; $this->solidityType = new Uinteger;

View File

@ -137,7 +137,7 @@ class UtilsTest extends TestCase
* *
* @return void * @return void
*/ */
public function setUp() public function setUp(): void
{ {
parent::setUp(); parent::setUp();
} }

View File

@ -29,7 +29,7 @@ class Web3ApiTest extends TestCase
* *
* @return void * @return void
*/ */
public function setUp() public function setUp(): void
{ {
parent::setUp(); parent::setUp();
} }

View File

@ -28,7 +28,7 @@ class Web3BatchTest extends TestCase
* *
* @return void * @return void
*/ */
public function setUp() public function setUp(): void
{ {
parent::setUp(); parent::setUp();
} }

View File

@ -37,7 +37,7 @@ class Web3Test extends TestCase
* *
* @return void * @return void
*/ */
public function setUp() public function setUp(): void
{ {
parent::setUp(); parent::setUp();
} }