From: Roland Häder <roland@mxchange.org>
Date: Tue, 8 May 2012 22:03:21 +0000 (+0000)
Subject: Some comments improved
X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=0b6a4723be1ca2e585214ea754e499cedb47ba2c;p=hub.git

Some comments improved
---

diff --git a/application/hub/main/package/class_NetworkPackage.php b/application/hub/main/package/class_NetworkPackage.php
index 64cd3d046..5ca1f31a8 100644
--- a/application/hub/main/package/class_NetworkPackage.php
+++ b/application/hub/main/package/class_NetworkPackage.php
@@ -537,7 +537,7 @@ class NetworkPackage extends BaseHubSystem implements Deliverable, Receivable, R
 	 *
 	 * @param	$decodedArray		An array with 'decoded' (explode() was mostly called) data
 	 * @return	$isSignatureValid	Whether the signature is valid
-	 * @todo	Unfinished area, signature are currently not supported
+	 * @todo	Unfinished area, signatures are currently NOT fully supported
 	 */
 	private function isPackageSignatureValid (array $decodedArray) {
 		// Generate the signature of comparing it
@@ -545,7 +545,7 @@ class NetworkPackage extends BaseHubSystem implements Deliverable, Receivable, R
 
 		// Is it the same?
 		//$isSignatureValid = 
-		die('signature='.$signature.print_r($decodedArray,true));
+		die(__METHOD__.': signature='.$signature.chr(10).',decodedArray='.print_r($decodedArray,true));
 	}
 
 	/**
@@ -958,7 +958,7 @@ class NetworkPackage extends BaseHubSystem implements Deliverable, Receivable, R
 
 		// Generate the signature of comparing it
 		/*
-		 * @todo Unsupported feature commented out
+		 * @todo Unsupported feature of "signed" messages commented out
 		if (!$this->isPackageSignatureValid($decodedArray)) {
 			// Is not valid, so throw an exception here
 			die('INVALID SIG! UNDER CONSTRUCTION!' . chr(10));