Browse Source

coding standards, strings === strict

alan bount 11 years ago
parent
commit
28882c9709
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Lib/GeocodeLib.php

+ 2 - 2
Lib/GeocodeLib.php

@@ -172,7 +172,7 @@ class GeocodeLib {
 	/**
 	 * Reset - ready for the next request
 	 *
-	 * @param mixed boolean $full or string == 'params' to reset just params
+	 * @param mixed boolean $full or string === 'params' to reset just params
 	 * @return void
 	 */
 	public function reset($full = true) {
@@ -181,7 +181,7 @@ class GeocodeLib {
 		if (empty($full)) {
 			return;
 		}
-		if ($full == 'params') {
+		if ($full === 'params') {
 			$this->params = $this->defaultParams;
 			return;
 		}