Also this ...
[core.git] / inc / classes / exceptions / socket / class_NoSocketRegisteredException.php
index e8d847537de8292c800a72b39651e8501707a12b..5baefb17bc9629467c8ef109d4fdbba15a80e564 100644 (file)
@@ -29,7 +29,7 @@ class NoSocketRegisteredException extends AbstractSocketException {
         * @param       $code                           Error code
         * @return      void
         */
         * @param       $code                           Error code
         * @return      void
         */
-       public function __construct (ProtocolHandler $protocolInstance, $code) {
+       public function __construct (HandleableProtocol $protocolInstance, $code) {
                // Construct the message
                $message = sprintf('[%s:] Requested socket is not yet registered.',
                        $protocolInstance->__toString()
                // Construct the message
                $message = sprintf('[%s:] Requested socket is not yet registered.',
                        $protocolInstance->__toString()