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

Commit 3f6037a

Browse files
committed
Merge pull request #24 from webimpress/declare-strict-types
Declare strict types
2 parents 56f097e + 71f655a commit 3f6037a

21 files changed

+44
-2
lines changed

src/ConfigProvider.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
* @license https://github.com/zendframework/zend-problem-details/blob/master/LICENSE.md New BSD License
66
*/
77

8+
declare(strict_types=1);
9+
810
namespace Zend\ProblemDetails;
911

1012
/**

src/Exception/CommonProblemDetailsExceptionTrait.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
* @license https://github.com/zendframework/zend-problem-details/blob/master/LICENSE.md New BSD License
66
*/
77

8+
declare(strict_types=1);
9+
810
namespace Zend\ProblemDetails\Exception;
911

1012
/**

src/Exception/ExceptionInterface.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
* @license https://github.com/zendframework/zend-problem-details/blob/master/LICENSE.md New BSD License
66
*/
77

8+
declare(strict_types=1);
9+
810
namespace Zend\ProblemDetails\Exception;
911

1012
/**

src/Exception/InvalidResponseBodyException.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
* @license https://github.com/zendframework/zend-problem-details/blob/master/LICENSE.md New BSD License
66
*/
77

8+
declare(strict_types=1);
9+
810
namespace Zend\ProblemDetails\Exception;
911

1012
use RuntimeException;

src/Exception/ProblemDetailsExceptionInterface.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
* @license https://github.com/zendframework/zend-problem-details/blob/master/LICENSE.md New BSD License
66
*/
77

8+
declare(strict_types=1);
9+
810
namespace Zend\ProblemDetails\Exception;
911

1012
use JsonSerializable;

src/ProblemDetailsMiddleware.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
* @license https://github.com/zendframework/zend-problem-details/blob/master/LICENSE.md New BSD License
66
*/
77

8+
declare(strict_types=1);
9+
810
namespace Zend\ProblemDetails;
911

1012
use ErrorException;

src/ProblemDetailsMiddlewareFactory.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
* @license https://github.com/zendframework/zend-problem-details/blob/master/LICENSE.md New BSD License
66
*/
77

8+
declare(strict_types=1);
9+
810
namespace Zend\ProblemDetails;
911

1012
use Psr\Container\ContainerInterface;

src/ProblemDetailsNotFoundHandler.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
* @license https://github.com/zendframework/zend-problem-details/blob/master/LICENSE.md New BSD License
66
*/
77

8+
declare(strict_types=1);
9+
810
namespace Zend\ProblemDetails;
911

1012
use Interop\Http\Server\MiddlewareInterface;

src/ProblemDetailsNotFoundHandlerFactory.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
* @license https://github.com/zendframework/zend-problem-details/blob/master/LICENSE.md New BSD License
66
*/
77

8+
declare(strict_types=1);
9+
810
namespace Zend\ProblemDetails;
911

1012
use Psr\Container\ContainerInterface;

src/ProblemDetailsResponseFactory.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
* @license https://github.com/zendframework/zend-problem-details/blob/master/LICENSE.md New BSD License
66
*/
77

8+
declare(strict_types=1);
9+
810
namespace Zend\ProblemDetails;
911

1012
use Closure;

0 commit comments

Comments
 (0)