Skip to content

Commit

Permalink
fix Annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
zds-s committed Dec 21, 2023
1 parent 07c457d commit 89123af
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions api/ApiController.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
use Hyperf\HttpServer\Annotation\Middlewares;
use Hyperf\HttpServer\Annotation\PostMapping;
use Hyperf\HttpServer\Annotation\RequestMapping;
use Hyperf\Validation\Annotation\Scene;
use Hyperf\Validation\Request\FormRequest;
use Hyperf\Validation\ValidationException;
use Mine\Exception\NoPermissionException;
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
],
"test": "co-phpunit --prepend test/bootstrap.php -c phpunit.xml --colors=always",
"cs-fix": "php-cs-fixer fix $1",
"analyse": "phpstan analyse --memory-limit 500M -l 0 -c phpstan.neon ./app ./config ./libdev",
"analyse": "phpstan analyse --memory-limit 500M -l 0 -c phpstan.neon ./app ./config ./api ./common",
"start": [
"Composer\\Config::disableProcessTimeout",
"php ./bin/hyperf.php start"
Expand Down

0 comments on commit 89123af

Please sign in to comment.