X-Git-Url: https://git.mxchange.org/?p=core.git;a=blobdiff_plain;f=framework%2Fmain%2Fexceptions%2Fsocket%2Fclass_SocketCreationException.php;h=0e888e7a35768056494597a5d9aa8439ea9b7040;hp=6fb6abd634621ebbc3228a9312e90d1cd48f91ec;hb=refs%2Fheads%2Fmaster;hpb=78a010fef84895720e796842208f01dfb619c332 diff --git a/framework/main/exceptions/socket/class_SocketCreationException.php b/framework/main/exceptions/socket/class_SocketCreationException.php index 6fb6abd6..0e888e7a 100644 --- a/framework/main/exceptions/socket/class_SocketCreationException.php +++ b/framework/main/exceptions/socket/class_SocketCreationException.php @@ -1,6 +1,6 @@ * @version 0.0.0 - * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team + * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2023 Core Developer Team * @license GNU GPL 3.0 or any newer version * @link http://www.shipsimu.org * @@ -34,7 +34,7 @@ class SocketCreationException extends AbstractSocketException { * @param $code Error code * @return void */ - public function __construct (array $messageData, $code) { + public function __construct (array $messageData, int $code) { // Construct the message $message = sprintf('[%s:] Cannot create socket, type=%s, errno=%s, errstr=%s', $messageData[0]->__toString(),