[STATIC ANALYSIS] Started removal process for the errors found by PHPStan

This commit is contained in:
Diogo Machado 2020-11-28 20:48:13 +00:00 committed by Hugo Sales
parent f1f4ad7ba7
commit 1abc3e3e7d
4 changed files with 7 additions and 1 deletions

View File

@ -21,6 +21,8 @@
namespace App\Util\Exception;
use function App\Core\I18n\_m;
class InvalidFormException extends ClientException
{
public function __construct()

View File

@ -21,6 +21,8 @@
namespace App\Util\Exception;
use function App\Core\I18n\_m;
class NoSuchNoteException extends ClientException
{
public function __construct()

View File

@ -30,6 +30,8 @@
namespace App\Util\Notification;
use function App\Core\I18n\_m;
abstract class AbstractTransport
{
/**

View File

@ -54,7 +54,7 @@ class Notification
public function __construct(int $type, Profile $profile)
{
$this->tyoe = $type;
$this->type = $type;
$this->profile = $profile;
}
}