Add PHPDoc hints to additional billing module files for IDE support
Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
This commit is contained in:
parent
f0dfa92bec
commit
86bfdb68c9
9 changed files with 61 additions and 0 deletions
|
|
@ -14,6 +14,13 @@ error_reporting(E_ALL);
|
|||
// Include database configuration
|
||||
require_once(__DIR__ . '/includes/config.inc.php');
|
||||
|
||||
// Variables from config.inc.php (helps IDEs understand scope)
|
||||
/** @var string $db_host Database host */
|
||||
/** @var string $db_user Database user */
|
||||
/** @var string $db_pass Database password */
|
||||
/** @var string $db_name Database name */
|
||||
/** @var string $table_prefix Table prefix for database tables */
|
||||
|
||||
// Create database connection
|
||||
$db = mysqli_connect($db_host, $db_user, $db_pass, $db_name);
|
||||
if (!$db) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue