From: Roland Häder Date: Sat, 19 May 2012 13:40:06 +0000 (+0000) Subject: Wrong order X-Git-Url: https://git.mxchange.org/?p=core.git;a=commitdiff_plain;h=d1b569cc56fa416dd4b60e35a3ffde9d52f11b4a;hp=103fb2d430cf09df2c4515140001c2476d5cf69e Wrong order --- diff --git a/inc/classes/main/factories/registry/class_SocketRegistryFactory.php b/inc/classes/main/factories/registry/class_SocketRegistryFactory.php index 54e452a8..a4b25b99 100644 --- a/inc/classes/main/factories/registry/class_SocketRegistryFactory.php +++ b/inc/classes/main/factories/registry/class_SocketRegistryFactory.php @@ -22,6 +22,16 @@ * along with this program. If not, see . */ class SocketRegistryFactory extends ObjectFactory { + /** + * Protected constructor + * + * @return void + */ + protected function __construct () { + // Call parent constructor + parent::__construct(__CLASS__); + } + /** * Returns a singleton socket registry instance. If an instance is found in * the registry it will be returned, else a new instance is created and @@ -48,16 +58,6 @@ class SocketRegistryFactory extends ObjectFactory { // Return the instance return $registryInstance; } - - /** - * Protected constructor - * - * @return void - */ - protected function __construct () { - // Call parent constructor - parent::__construct(__CLASS__); - } } // [EOF]