Skip to content

Commit c4b06ab

Browse files
committed
add PHP doc comments to app for better Intellisense #5226 #6563
1 parent bc7d128 commit c4b06ab

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

server/lib/app.inc.php

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,14 @@
4949
* @author Till Brehm
5050
* @license bsd-3-clause
5151
* @link empty
52+
*
53+
* @property-read functions $functions
54+
* @property-read getconf $getconf
55+
* @property-read letsencrypt $letsencrypt
56+
* @property-read modules $modules
57+
* @property-read plugins $plugins
58+
* @property-read services $services
59+
* @property-read system $system
5260
**/
5361
class app extends stdClass {
5462
/** @var array List of modules that have been loaded. */
@@ -57,8 +65,10 @@ class app extends stdClass {
5765
var $loaded_plugins = [];
5866
/** @var callable Script calling this. */
5967
var $_calling_script = '';
60-
/** @var resource? Database used for ISPConfig3. */
68+
/** @var db|false Database used for ISPConfig3. */
6169
public $db;
70+
/** @var db|false */
71+
public $dbmaster;
6272

6373
/**
6474
* Class constructor, which depends on the global configuration stored in $conf.

0 commit comments

Comments
 (0)