diff --git a/src/Exceptions/ProfessionNotPresent.php b/src/Exceptions/ProfessionNotPresent.php index f6e8b5b..c95537e 100644 --- a/src/Exceptions/ProfessionNotPresent.php +++ b/src/Exceptions/ProfessionNotPresent.php @@ -6,12 +6,10 @@ class ProfessionNotPresent extends \Exception { - public function __construct($message = "", $code = 0, Throwable $previous = null) + public function __construct($message = '', $code = 0, Throwable $previous = null) { - if (str_contains($message, "is not present in the profession types list.")) { - + if (str_contains($message, 'is not present in the profession types list.')) { } parent::__construct($message, $code, $previous); } - }