X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=framework%2Fmain%2Fexceptions%2Fsocket%2Fclass_SocketOperationException.php;h=8e607fe303bc568578ddcc4bbffa2e7641d9a5d3;hb=498e6b065ce47804bff4e1073592a2cc8e28f8ef;hp=830f9c3d328cc33e041096255f6648a7ab432ff5;hpb=4f9cf34b521892cb99fae9b21b92787f3d555b74;p=core.git diff --git a/framework/main/exceptions/socket/class_SocketOperationException.php b/framework/main/exceptions/socket/class_SocketOperationException.php index 830f9c3d..8e607fe3 100644 --- a/framework/main/exceptions/socket/class_SocketOperationException.php +++ b/framework/main/exceptions/socket/class_SocketOperationException.php @@ -7,7 +7,7 @@ namespace Org\Mxchange\CoreFramework\Socket; * * @author Roland Haeder * @version 0.0.0 - * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team + * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2020 Core Developer Team * @license GNU GPL 3.0 or any newer version * @link http://www.shipsimu.org * @@ -32,7 +32,7 @@ class SocketOperationException 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:] Socket operation failed, type=%s, errno=%s, errstr=%s', $messageData[0]->__toString(),