[STATIC ANALYSIS] Started removal process for the errors found by PHPStan
This commit is contained in:
parent
f319ccea78
commit
f18a2a4bb6
@ -21,6 +21,8 @@
|
|||||||
|
|
||||||
namespace App\Util\Exception;
|
namespace App\Util\Exception;
|
||||||
|
|
||||||
|
use function App\Core\I18n\_m;
|
||||||
|
|
||||||
class InvalidFormException extends ClientException
|
class InvalidFormException extends ClientException
|
||||||
{
|
{
|
||||||
public function __construct()
|
public function __construct()
|
||||||
|
@ -21,6 +21,8 @@
|
|||||||
|
|
||||||
namespace App\Util\Exception;
|
namespace App\Util\Exception;
|
||||||
|
|
||||||
|
use function App\Core\I18n\_m;
|
||||||
|
|
||||||
class NoSuchNoteException extends ClientException
|
class NoSuchNoteException extends ClientException
|
||||||
{
|
{
|
||||||
public function __construct()
|
public function __construct()
|
||||||
|
@ -30,6 +30,8 @@
|
|||||||
|
|
||||||
namespace App\Util\Notification;
|
namespace App\Util\Notification;
|
||||||
|
|
||||||
|
use function App\Core\I18n\_m;
|
||||||
|
|
||||||
abstract class AbstractTransport
|
abstract class AbstractTransport
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
|
@ -54,7 +54,7 @@ class Notification
|
|||||||
|
|
||||||
public function __construct(int $type, Profile $profile)
|
public function __construct(int $type, Profile $profile)
|
||||||
{
|
{
|
||||||
$this->tyoe = $type;
|
$this->type = $type;
|
||||||
$this->profile = $profile;
|
$this->profile = $profile;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user