• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

php-casbin / think-authz / 15025178114

14 May 2025 03:45PM UTC coverage: 92.667%. Remained the same
15025178114

push

github

web-flow
fix: delete without condition if cache disabled (#52)

1 of 1 new or added line in 1 file covered. (100.0%)

139 of 150 relevant lines covered (92.67%)

48.54 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/exception/Unauthorized.php
1
<?php
2

3
namespace tauthz\exception;
4

5
use think\exception\HttpException;
6

7
class Unauthorized extends HttpException
8
{
9
    /**
10
     * Create a new exception instance.
11
     *
12
     * @return void
13
     */
14
    public function __construct()
15
    {
16
        parent::__construct(403, '此操作未经授权');
×
17
    }
18
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc