From: Roland Häder Date: Tue, 24 Nov 2020 03:30:03 +0000 (+0100) Subject: Continued: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=34cd7091efcf6361152aab232d9935bf6e105595;p=hub.git Continued: - renamed $class to $className to make it more clear Signed-off-by: Roland Häder --- diff --git a/application/hub/classes/helper/connection/class_BaseConnectionHelper.php b/application/hub/classes/helper/connection/class_BaseConnectionHelper.php index 6dcb5c86c..95fc8e305 100644 --- a/application/hub/classes/helper/connection/class_BaseConnectionHelper.php +++ b/application/hub/classes/helper/connection/class_BaseConnectionHelper.php @@ -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; } /**