| Conditions | 1 |
| Paths | 1 |
| Total Lines | 6 |
| Code Lines | 3 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 16 | public static function authorizationNotAllowed($redirectUri = null) |
||
| 17 | { |
||
| 18 | $errorMessage = 'Authorization not allowed.'; |
||
| 19 | $hint = 'The user is not is not allowed to authorize the specified client.'; |
||
| 20 | |||
| 21 | return new static($errorMessage, 0, 'authorization_not_allowed', 403, $hint, $redirectUri); |
||
| 22 | } |
||
| 44 |