mirror of
https://github.com/nextcloud/app_api.git
synced 2025-07-26 15:47:13 +00:00

Fixes IDE warnings: * Qualifier can be replaced with an import * Argument matches the parameter's default value Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
18 lines
349 B
PHP
18 lines
349 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace OCA\AppAPI\Exceptions;
|
|
|
|
use Exception;
|
|
use OCP\AppFramework\Http;
|
|
|
|
/**
|
|
* @package OCA\AppAPI\Exceptions
|
|
*/
|
|
class AppAPIAuthNotValidException extends Exception {
|
|
public function __construct($message = 'AppAPIAuth failed', $code = Http::STATUS_UNAUTHORIZED) {
|
|
parent::__construct($message, $code);
|
|
}
|
|
}
|