Skip to content

Commit 587c00b

Browse files
committed
Declare strict types
1 parent 63949c3 commit 587c00b

29 files changed

+58
-0
lines changed

src/ApplicationFactory.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 PHPFastCGI\FastCGIDaemon;
46

57
use PHPFastCGI\FastCGIDaemon\Command\DaemonRunCommand;

src/ApplicationFactoryInterface.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 PHPFastCGI\FastCGIDaemon;
46

57
use Symfony\Component\Console\Application;

src/CallbackKernel.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 PHPFastCGI\FastCGIDaemon;
46

57
use PHPFastCGI\FastCGIDaemon\Http\RequestInterface;

src/Command/DaemonRunCommand.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 PHPFastCGI\FastCGIDaemon\Command;
46

57
use PHPFastCGI\FastCGIDaemon\DaemonInterface;

src/DaemonFactoryInterface.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 PHPFastCGI\FastCGIDaemon;
46

57
/**

src/DaemonInterface.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 PHPFastCGI\FastCGIDaemon;
46

57
/**

src/DaemonOptions.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 PHPFastCGI\FastCGIDaemon;
46

57
use Psr\Log\LoggerInterface;

src/DaemonOptionsInterface.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 PHPFastCGI\FastCGIDaemon;
46

57
interface DaemonOptionsInterface

src/DaemonTrait.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 PHPFastCGI\FastCGIDaemon;
46

57
use PHPFastCGI\FastCGIDaemon\Exception\ShutdownException;

src/Driver/DriverContainer.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 PHPFastCGI\FastCGIDaemon\Driver;
46

57
use PHPFastCGI\FastCGIDaemon\DaemonFactoryInterface;

0 commit comments

Comments
 (0)