Skip to content

Commit

Permalink
dev
Browse files Browse the repository at this point in the history
  • Loading branch information
scrs_zdenek committed Jan 23, 2024
1 parent 01e4d4a commit 9db6035
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/Modules/Backend/Sign/SignPresenter.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
use App\Modules\BasePresenter;
use Drago\Application\UI\Alert;
use Exception;
use JetBrains\PhpStorm\NoReturn;
use Nette\Application\AbortException;
use Nette\Application\UI\Form;
use Nette\Security\AuthenticationException;
Expand Down Expand Up @@ -95,7 +96,7 @@ protected function createComponentUp(): Form
* Logout user from application.
* @throws AbortException
*/
public function actionUserOut(): void
#[NoReturn] public function actionUserOut(): void

Check failure on line 99 in app/Modules/Backend/Sign/SignPresenter.php

View workflow job for this annotation

GitHub Actions / PHPStan

Attribute class JetBrains\PhpStorm\NoReturn does not exist.
{
$this->getUser()->logout();
$this->redirect(':Backend:Sign:in');
Expand Down

0 comments on commit 9db6035

Please sign in to comment.