This commit is contained in:
2020-10-29 18:17:25 +08:00
parent 6839b64be8
commit 53ae43b79b
198 changed files with 708 additions and 850 deletions
+4 -6
View File
@@ -1,15 +1,13 @@
<?php
declare(strict_types=1);
namespace Snowflake\Process;
use Snowflake\Abstracts\Component;
use Exception;
use Snowflake\Application;
use Snowflake\Exception\ComponentException;
use Snowflake\Snowflake;
use Swoole\Coroutine\Socket;
use Swoole\Process\Pool;
/**
* Class Process
@@ -19,7 +17,7 @@ abstract class Process extends \Swoole\Process
{
/** @var Application $application */
protected $application;
protected Application $application;
/**
@@ -27,7 +25,7 @@ abstract class Process extends \Swoole\Process
* @param $application
* @param $name
* @param bool $enable_coroutine
* @throws \Exception
* @throws Exception
*/
public function __construct($application, $name, $enable_coroutine = true)
{