Minor improvements here and there:
[core.git] / inc / classes / main / container / socket / class_SocketContainer.php
index ea54138775d0f31b0ae04a833d432aee24e33239..8b70b95421ac708e1e77dfa0ce6710056e3fac44 100644 (file)
@@ -40,7 +40,7 @@ class SocketContainer extends BaseContainer implements Registerable {
         * @param       $packageData            Raw package data
         * @return      $containerInstance      An instance of this Container class
         */
-       public static final function createSocketContainer ($socketResource, ProtocolHandler $protocolInstance, array $packageData) {
+       public static final function createSocketContainer ($socketResource, ProtocolHandler $protocolInstance = NULL, array $packageData) {
                // Get a new instance
                $containerInstance = new SocketContainer();