Skip to content

Commit 5ec4fd7

Browse files
committed
add declare(strict_types=1)
1 parent c2bc808 commit 5ec4fd7

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+126
-2
lines changed

bin/php-whois.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
use Iodev\Whois\Factory;
46

57
$scriptDir = '.';

src/Iodev/Whois/Config.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace Iodev\Whois;
46

57
class Config

src/Iodev/Whois/DataObject.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace Iodev\Whois;
46

57
/**

src/Iodev/Whois/Exceptions/ConnectionException.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace Iodev\Whois\Exceptions;
46

57
use Exception;

src/Iodev/Whois/Exceptions/ServerMismatchException.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace Iodev\Whois\Exceptions;
46

57
use Throwable;

src/Iodev/Whois/Exceptions/WhoisException.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace Iodev\Whois\Exceptions;
46

57
use Throwable;

src/Iodev/Whois/Factory.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace Iodev\Whois;
46

57
use Iodev\Whois\Loaders\ILoader;

src/Iodev/Whois/Helpers/DateHelper.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace Iodev\Whois\Helpers;
46

57
class DateHelper

src/Iodev/Whois/Helpers/DomainHelper.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace Iodev\Whois\Helpers;
46

57
use Iodev\Whois\Factory;

src/Iodev/Whois/Helpers/GroupFilter.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace Iodev\Whois\Helpers;
46

57
class GroupFilter

0 commit comments

Comments
 (0)