X-Git-Url: https://git.mxchange.org/?p=core.git;a=blobdiff_plain;f=inc%2Fclasses%2Fmain%2Fregistry%2Fgeneric%2Fclass_Registry.php;h=d998ac83a8e1c6b14a983e112f45981d03e382b0;hp=4211e0142d43dd539f141ad3b078f7bbdc8029ce;hb=d26e71af1e28dc1429823bdec244df6303f9b2fb;hpb=51caaa61ae7ee017abdfd116bbd8c438451315b2 diff --git a/inc/classes/main/registry/generic/class_Registry.php b/inc/classes/main/registry/generic/class_Registry.php index 4211e014..d998ac83 100644 --- a/inc/classes/main/registry/generic/class_Registry.php +++ b/inc/classes/main/registry/generic/class_Registry.php @@ -3,11 +3,11 @@ * A registry for several data types and objects. Objects should be added by * addInstance() and therefore must implement the interface Registerable. * - * @author Roland Haeder + * @author Roland Haeder * @version 0.0.0 - * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009, 2010 Core Developer Team + * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2015 Core Developer Team * @license GNU GPL 3.0 or any newer version - * @link http://www.ship-simu.org + * @link http://www.shipsimu.org * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -26,7 +26,7 @@ class Registry extends BaseRegistry implements Register { /** * Instance of this class */ - private static $registryInstance = null; + private static $registryInstance = NULL; /** * Protected constructor @@ -44,7 +44,7 @@ class Registry extends BaseRegistry implements Register { * * @return $registryInstance Instance of this class */ - public final static function getRegistry () { + public static final function getRegistry () { // Is an instance there? if (is_null(self::$registryInstance)) { // Not yet, so create one @@ -58,4 +58,3 @@ class Registry extends BaseRegistry implements Register { // [EOF] ?> -