Skip to content

Commit

Permalink
Optimized lead-in package
Browse files Browse the repository at this point in the history
  • Loading branch information
tw2066 committed Nov 6, 2023
1 parent c30a3dc commit 14d0ca8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,16 @@
"hyperf/http-server": "~3.0.0|~3.1.0",
"hyperf/di": "~3.0.0|~3.1.0",
"hyperf/validation": "~3.0.0|~3.1.0",
"phpdocumentor/reflection-docblock": "^5.0"
"phpdocumentor/reflection-docblock": "^5.0",
"symfony/serializer": "^5.0|^6.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.0",
"mockery/mockery": "^1.0",
"phpstan/phpstan": "^1.0",
"phpunit/phpunit": ">=7.0",
"symfony/var-dumper": "^5.1",
"symfony/property-access": "^5.0|^6.0",
"symfony/serializer": "^5.0|^6.0"
"symfony/property-access": "^5.0|^6.0"
},
"autoload": {
"psr-4": {
Expand Down
2 changes: 1 addition & 1 deletion src/DtoConfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class DtoConfig
{
private static string $dto_alias_method_prefix = '_set_dto_alias_';

private string $proxy_dir;
private string $proxy_dir = '';

private int $dto_default_value_level = 0;

Expand Down
2 changes: 1 addition & 1 deletion src/Router/TcpRouter.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public function __construct(ContainerInterface $container)

public function getRouter($serverName)
{
$data = make(DispatcherFactory::class, [
$data = \Hyperf\Support\make(DispatcherFactory::class, [
'pathGenerator' => $this->getProtocol()->getPathGenerator(),
]);
return $data->getRouter($serverName);
Expand Down

0 comments on commit 14d0ca8

Please sign in to comment.