Skip to content
This repository was archived by the owner on Jan 6, 2024. It is now read-only.

Commit 98381d7

Browse files
committed
Declare strict types at all classes
1 parent eaf781f commit 98381d7

12 files changed

+24
-0
lines changed

src/Promise.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 Http\Adapter\Guzzle6;
46

57
use GuzzleHttp\Exception as GuzzleExceptions;

tests/CurlHttpAdapterTest.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 Http\Adapter\Guzzle6\Tests;
46

57
use GuzzleHttp\Handler\CurlHandler;

tests/CurlHttpAsyncAdapterTest.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 Http\Adapter\Guzzle6\Tests;
46

57
use GuzzleHttp\Handler\CurlHandler;

tests/DefaultHttpAdapterTest.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 Http\Adapter\Guzzle6\Tests;
46

57
use Http\Adapter\Guzzle6\Client;

tests/HttpAdapterTest.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 Http\Adapter\Guzzle6\Tests;
46

57
use GuzzleHttp\Client as GuzzleClient;

tests/HttpAsyncAdapterTest.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 Http\Adapter\Guzzle6\Tests;
46

57
use GuzzleHttp\Client as GuzzleClient;

tests/MultiCurlHttpAdapterTest.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 Http\Adapter\Guzzle6\Tests;
46

57
use GuzzleHttp\Handler\CurlMultiHandler;

tests/MultiCurlHttpAsyncAdapterTest.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 Http\Adapter\Guzzle6\Tests;
46

57
use GuzzleHttp\Handler\CurlMultiHandler;

tests/PromiseExceptionTest.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 Http\Adapter\Guzzle6\Tests;
46

57
use GuzzleHttp\Exception as GuzzleExceptions;

tests/PromiseTest.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 Http\Adapter\Guzzle6\Tests;
46

57
use GuzzleHttp\Promise\RejectedPromise;

0 commit comments

Comments
 (0)