]> git.mxchange.org Git - friendica.git/blobdiff - src/Network/HTTPException.php
Merge pull request #12395 from HankG/fix-photo-get-without-scale-arg
[friendica.git] / src / Network / HTTPException.php
index a0cdcdf6af3ceabd8c467a48184424b1e0c896eb..7ef1ca9828aca0e93147106f2f12d19cc716e68d 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2010-2021, the Friendica project
+ * @copyright Copyright (C) 2010-2022, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -34,7 +34,7 @@ abstract class HTTPException extends Exception
        protected $httpdesc    = '';
        protected $explanation = '';
 
-       public function __construct($message = '', Exception $previous = null)
+       public function __construct(string $message = '', Exception $previous = null)
        {
                parent::__construct($message, $this->code, $previous);
        }