]> git.mxchange.org Git - hub.git/blobdiff - application/hub/main/listener/udp/decorators/class_PeerUdpListenerDecorator.php
'public static final' is the right thing, some variables renamed to make clear what...
[hub.git] / application / hub / main / listener / udp / decorators / class_PeerUdpListenerDecorator.php
index 6bf5f9c698e1336d9671920fba8d6728e75ce72e..c5b8a70cdc80b2db13d1b93e9af3c24214c5e9e7 100644 (file)
@@ -41,7 +41,7 @@ class PeerUdpListenerDecorator extends BaseListenerDecorator implements Listenab
         * @param       $listenerInstance       A Listener instance
         * @return      $decoratorInstance      An instance a prepared listener decorator class
         */
-       public final static function createPeerUdpListenerDecorator (Listenable $listenerInstance) {
+       public static final function createPeerUdpListenerDecorator (Listenable $listenerInstance) {
                // Get new instance
                $decoratorInstance = new PeerUdpListenerDecorator();
 
@@ -57,7 +57,7 @@ class PeerUdpListenerDecorator extends BaseListenerDecorator implements Listenab
         *
         * @return      void
         */
-       public function initListener() {
+       public function initListener () {
                $this->partialStub('WARNING: This method should not be called.');
        }
 
@@ -66,7 +66,7 @@ class PeerUdpListenerDecorator extends BaseListenerDecorator implements Listenab
         *
         * @return      void
         */
-       public function doListen() {
+       public function doListen () {
                // Handle generic UDP packages first
                $this->getListenerInstance()->doListen();