From 1c7c230f41cf7d5115f1a1c3c34c93e39795ab5d Mon Sep 17 00:00:00 2001
From: Cameron <e107inc@gmail.com>
Date: Sun, 19 Aug 2018 13:00:00 -0700
Subject: [PATCH] PHP Doc for $sql and $tp.

---
 class2.php | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/class2.php b/class2.php
index db936f3ae..edfd97aaa 100755
--- a/class2.php
+++ b/class2.php
@@ -369,6 +369,7 @@ if(!defined('e_SECURITY_LEVEL'))
 //$e107->url = e107::getUrl(); - caught by __get()
 //TODO - find & replace $e107->url
 //DEPRECATED, BC, $e107->tp caught by __get()
+/** @var e_parse $tp */
 $tp = e107::getParser(); //TODO - find & replace $tp, $e107->tp
 
 //define("e_QUERY", $matches[2]);
@@ -431,6 +432,7 @@ e107::getSingleton('e107_traffic'); // We start traffic counting ASAP
 // e107_require_once(e_HANDLER.'mysql_class.php');
 
 //DEPRECATED, BC, $e107->sql caught by __get()
+/** @var e_db_mysql $sql */
 $sql = e107::getDb(); //TODO - find & replace $sql, $e107->sql
 $sql->db_SetErrorReporting(false);
 
@@ -719,7 +721,7 @@ if(isset($pref['lan_global_list']))
 
 $sql->db_Mark_Time('CHAP challenge');
 
-$die = (e_AJAX_REQUEST == true) ? false : true; 
+$die = (e_AJAX_REQUEST == true) ? false : true;
 e107::getSession()
 	->challenge() // Make sure there is a unique challenge string for CHAP login
 	->check($die); // Token protection