File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -9,19 +9,19 @@ class CouldNotSendNotification extends \Exception
99 private $ response ;
1010
1111 /**
12- * @param Response $response
13- * @param string $message
14- * @param int|null $code
12+ * @param Response $response
13+ * @param string $message
14+ * @param int|null $code
1515 */
16- public function __construct (Response $ response , string $ message , int $ code = null )
16+ public function __construct (Response $ response , string $ message , ? int $ code = null )
1717 {
1818 parent ::__construct ($ message , $ code ?? $ response ->getStatusCode ());
1919
2020 $ this ->response = $ response ;
2121 }
2222
2323 /**
24- * @param Response $response
24+ * @param Response $response
2525 * @return self
2626 */
2727 public static function serviceRespondedWithAnError (Response $ response )
You can’t perform that action at this time.
0 commit comments