Skip to content

Commit

Permalink
fix(php-cs)
Browse files Browse the repository at this point in the history
  • Loading branch information
kanyxmo committed Nov 26, 2024
1 parent 0c6a765 commit f9c2af6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion app/Http/Admin/Middleware/PermissionMiddleware.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ private function check(Dispatched $dispatched): bool
$annotations = AnnotationCollector::getClassMethodAnnotation($controller, $method);
$classAnnotation = AnnotationCollector::getClassAnnotation($controller, Permission::class);
/**
* @var \Mine\Access\Attribute\Permission[] $permissions
* @var Permission[] $permissions
*/
$permissions = [];
$classAnnotation && $permissions[] = $classAnnotation;
Expand Down
2 changes: 0 additions & 2 deletions app/Http/Common/Result.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@
class Result implements Arrayable
{
/**
* @param ResultCode $code
* @param null|string $message
* @param T $data
*/
public function __construct(
Expand Down

0 comments on commit f9c2af6

Please sign in to comment.