mirror of
https://github.com/nuxsmin/sysPass.git
synced 2026-03-15 04:46:49 +01:00
chore: Move exceptions to domain
Signed-off-by: Rubén D <nuxsmin@syspass.org>
This commit is contained in:
@@ -25,9 +25,10 @@
|
||||
namespace SP\Modules\Web\Controllers\AccountFile;
|
||||
|
||||
use Exception;
|
||||
use JsonException;
|
||||
use SP\Core\Events\Event;
|
||||
use SP\Core\Events\EventMessage;
|
||||
use SP\Core\Exceptions\SPException;
|
||||
use SP\Domain\Core\Exceptions\SPException;
|
||||
use SP\Http\JsonResponse;
|
||||
use SP\Modules\Web\Controllers\Traits\JsonTrait;
|
||||
use SP\Util\FileUtil;
|
||||
@@ -49,7 +50,7 @@ final class ViewController extends AccountFileBase
|
||||
* @param int $id
|
||||
*
|
||||
* @return bool
|
||||
* @throws \JsonException
|
||||
* @throws JsonException
|
||||
*/
|
||||
public function viewAction(int $id): bool
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user