| @@ -11,8 +11,8 @@ | ||
| 11 | 11 | |
| 12 | 12 | use FastD\ServiceProvider\SwooleServiceProvider; | 
| 13 | 13 | use FastD\Servitization\Server\HTTPServer; | 
| 14 | -use swoole_server; | |
| 15 | 14 | use Symfony\Component\Console\Input\InputInterface; | 
| 15 | +use swoole_server; | |
| 16 | 16 | |
| 17 | 17 | /** | 
| 18 | 18 | * Class App. | 
| @@ -41,7 +41,7 @@ | ||
| 41 | 41 | * @param $data | 
| 42 | 42 | * @param $from_id | 
| 43 | 43 | * | 
| 44 | - * @return mixed | |
| 44 | + * @return integer | |
| 45 | 45 | */ | 
| 46 | 46 | public function doWork(swoole_server $server, $fd, $data, $from_id) | 
| 47 | 47 |      { | 
| @@ -40,7 +40,7 @@ | ||
| 40 | 40 | * @param swoole_server $server | 
| 41 | 41 | * @param swoole_websocket_frame $frame | 
| 42 | 42 | * | 
| 43 | - * @return mixed | |
| 43 | + * @return integer | |
| 44 | 44 | */ | 
| 45 | 45 | public function doMessage(swoole_server $server, swoole_websocket_frame $frame) | 
| 46 | 46 |      { | 
| @@ -70,7 +70,7 @@ | ||
| 70 | 70 | /** | 
| 71 | 71 | * Returns the test database connection. | 
| 72 | 72 | * | 
| 73 | - * @return PHPUnit_Extensions_Database_DB_IDatabaseConnection | |
| 73 | + * @return \PHPUnit_Extensions_Database_DB_DefaultDatabaseConnection|null | |
| 74 | 74 | */ | 
| 75 | 75 | protected function getConnection() | 
| 76 | 76 |      { | 
| @@ -11,10 +11,10 @@ | ||
| 11 | 11 | |
| 12 | 12 | use FastD\Http\Response; | 
| 13 | 13 | use FastD\Testing\WebTestCase; | 
| 14 | +use PHPUnit_Extensions_Database_DB_IDatabaseConnection; | |
| 14 | 15 | use PHPUnit_Extensions_Database_DataSet_ArrayDataSet; | 
| 15 | 16 | use PHPUnit_Extensions_Database_DataSet_CompositeDataSet; | 
| 16 | 17 | use PHPUnit_Extensions_Database_DataSet_IDataSet; | 
| 17 | -use PHPUnit_Extensions_Database_DB_IDatabaseConnection; | |
| 18 | 18 | use Psr\Http\Message\ServerRequestInterface; | 
| 19 | 19 | |
| 20 | 20 | /** | 
| @@ -56,7 +56,7 @@ | ||
| 56 | 56 | /** | 
| 57 | 57 | * AppKernel constructor. | 
| 58 | 58 | * | 
| 59 | - * @param $path | |
| 59 | + * @param string $path | |
| 60 | 60 | */ | 
| 61 | 61 | public function __construct($path) | 
| 62 | 62 |      { | 
| @@ -11,7 +11,6 @@ | ||
| 11 | 11 | |
| 12 | 12 | use FastD\Container\Container; | 
| 13 | 13 | use FastD\Container\ServiceProviderInterface; | 
| 14 | -use Monolog\Formatter\LineFormatter; | |
| 15 | 14 | use Monolog\Handler\StreamHandler; | 
| 16 | 15 | use Monolog\Logger; | 
| 17 | 16 | |