Skip to content

Commit

Permalink
Add strict types declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
adriansuter committed Jun 17, 2020
1 parent 49b7588 commit 0bcdd24
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Cache.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
* @license https://github.com/slimphp/Slim-HttpCache/blob/master/LICENSE.md (MIT License)
*/

declare(strict_types=1);

namespace Slim\HttpCache;

use Psr\Http\Message\ResponseInterface;
Expand Down
2 changes: 2 additions & 0 deletions src/CacheProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
* @license https://github.com/slimphp/Slim-HttpCache/blob/master/LICENSE.md (MIT License)
*/

declare(strict_types=1);

namespace Slim\HttpCache;

use InvalidArgumentException;
Expand Down
2 changes: 2 additions & 0 deletions tests/CacheProviderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
* @license https://github.com/slimphp/Slim-HttpCache/blob/master/LICENSE.md (MIT License)
*/

declare(strict_types=1);

namespace Slim\HttpCache\Tests;

use InvalidArgumentException;
Expand Down
2 changes: 2 additions & 0 deletions tests/CacheTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
* @license https://github.com/slimphp/Slim-HttpCache/blob/master/LICENSE.md (MIT License)
*/

declare(strict_types=1);

namespace Slim\HttpCache\Tests;

use PHPUnit\Framework\TestCase;
Expand Down
2 changes: 2 additions & 0 deletions tests/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,6 @@
* @license https://github.com/slimphp/Slim-HttpCache/blob/master/LICENSE.md (MIT License)
*/

declare(strict_types=1);

require __DIR__.'/../vendor/autoload.php';

0 comments on commit 0bcdd24

Please sign in to comment.