This commit is contained in:
2021-01-12 16:27:49 +08:00
parent 81417b6e24
commit f6bbcea9a2
2 changed files with 14 additions and 1 deletions
+2 -1
View File
@@ -6,6 +6,7 @@ namespace HttpServer;
use Exception;
use JetBrains\PhpStorm\Pure;
use Snowflake\Abstracts\Input;
use Snowflake\Exception\ComponentException;
use Snowflake\Snowflake;
@@ -111,7 +112,7 @@ trait Action
/**
* @return string
*/
private function getWorkerPath(): string
#[Pure] private function getWorkerPath(): string
{
return "glob://" . ltrim(APP_PATH, '/') . '/storage/worker/*.sock';
}