]> git.mxchange.org Git - hub.git/commitdiff
Continued:
authorRoland Häder <roland@mxchange.org>
Tue, 24 Nov 2020 03:30:03 +0000 (04:30 +0100)
committerRoland Häder <roland@mxchange.org>
Tue, 24 Nov 2020 03:30:03 +0000 (04:30 +0100)
- renamed $class to $className to make it more clear

Signed-off-by: Roland Häder <roland@mxchange.org>
application/hub/classes/helper/connection/class_BaseConnectionHelper.php

index 6dcb5c86c83821be12cdcd915aee803e294eb72a..95fc8e3053ef692ff386685840c1b572092e7a19 100644 (file)
@@ -126,10 +126,10 @@ abstract class BaseConnectionHelper extends BaseHubSystemHelper implements Visit
         */
        public final function __toString () {
                // Class name representation
-               $class = $this->getConnectionClassNameFromSocket();
+               $className = $this->getConnectionClassNameFromSocket();
 
                // Return it
-               return $class;
+               return $className;
        }
 
        /**
@@ -212,15 +212,15 @@ abstract class BaseConnectionHelper extends BaseHubSystemHelper implements Visit
 
                // Construct it
                /* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__, __LINE__)->debugOutput(sprintf('CONNECTION-HELPER: recipientAddress=%s,recipientPort=%d', $recipientAddress, $recipientPort));
-               $class = sprintf('%s:%d:%s',
+               $className = sprintf('%s:%d:%s',
                        $recipientAddress,
                        $recipientPort,
                        parent::__toString()
                );
 
                // ... and return it
-               /* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__, __LINE__)->debugOutput(sprintf('CONNECTION-HELPER: class=%s - EXIT!', $class));
-               return $class;
+               /* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__, __LINE__)->debugOutput(sprintf('CONNECTION-HELPER: className=%s - EXIT!', $className));
+               return $className;
        }
 
        /**