Skip to content

Commit

Permalink
Use one line for comments with a single line
Browse files Browse the repository at this point in the history
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
  • Loading branch information
MauricioFauth committed Jan 20, 2020
1 parent c231652 commit 6283caa
Show file tree
Hide file tree
Showing 198 changed files with 396 additions and 1,188 deletions.
4 changes: 1 addition & 3 deletions libraries/classes/Bookmark.php
Expand Up @@ -46,9 +46,7 @@ class Bookmark
*/
private $_query;

/**
* @var DatabaseInterface
*/
/** @var DatabaseInterface */
private $dbi;

/**
Expand Down
4 changes: 1 addition & 3 deletions libraries/classes/BrowseForeigners.php
Expand Up @@ -26,9 +26,7 @@ class BrowseForeigners
/** @var string */
private $themeImage;

/**
* @var Template
*/
/** @var Template */
public $template;

/**
Expand Down
8 changes: 2 additions & 6 deletions libraries/classes/CentralColumns.php
Expand Up @@ -55,14 +55,10 @@ class CentralColumns
*/
private $disableIs;

/**
* @var Relation
*/
/** @var Relation */
private $relation;

/**
* @var Template
*/
/** @var Template */
public $template;

/**
Expand Down
8 changes: 2 additions & 6 deletions libraries/classes/Charsets.php
Expand Up @@ -56,14 +56,10 @@ class Charsets
*/
private static $serverCharset = null;

/**
* @var array<string, Charset>
*/
/** @var array<string, Charset> */
private static $charsets = [];

/**
* @var array<string, array<string, Collation>>
*/
/** @var array<string, array<string, Collation>> */
private static $collations = [];

/**
Expand Down
4 changes: 1 addition & 3 deletions libraries/classes/CheckUserPrivileges.php
Expand Up @@ -18,9 +18,7 @@
*/
class CheckUserPrivileges
{
/**
* @var DatabaseInterface
*/
/** @var DatabaseInterface */
private $dbi;

/**
Expand Down
36 changes: 9 additions & 27 deletions libraries/classes/Config.php
Expand Up @@ -24,51 +24,33 @@
*/
class Config
{
/**
* @var string default config source
*/
/** @var string default config source */
public $default_source = ROOT_PATH . 'libraries/config.default.php';

/**
* @var array default configuration settings
*/
/** @var array default configuration settings */
public $default = [];

/**
* @var array configuration settings, without user preferences applied
*/
/** @var array configuration settings, without user preferences applied */
public $base_settings = [];

/**
* @var array configuration settings
*/
/** @var array configuration settings */
public $settings = [];

/**
* @var string config source
*/
/** @var string config source */
public $source = '';

/**
* @var int source modification time
*/
/** @var int source modification time */
public $source_mtime = 0;
public $default_source_mtime = 0;
public $set_mtime = 0;

/**
* @var boolean
*/
/** @var boolean */
public $error_config_file = false;

/**
* @var boolean
*/
/** @var boolean */
public $error_config_default_file = false;

/**
* @var array
*/
/** @var array */
public $default_server = [];

/**
Expand Down
4 changes: 1 addition & 3 deletions libraries/classes/Config/FormDisplay.php
Expand Up @@ -94,9 +94,7 @@ class FormDisplay
*/
private $_userprefsDisallow;

/**
* @var FormDisplayTemplate
*/
/** @var FormDisplayTemplate */
private $formDisplayTemplate;

/**
Expand Down
12 changes: 3 additions & 9 deletions libraries/classes/Config/FormDisplayTemplate.php
Expand Up @@ -20,19 +20,13 @@
*/
class FormDisplayTemplate
{
/**
* @var int
*/
/** @var int */
public $group;

/**
* @var Config
*/
/** @var Config */
protected $config;

/**
* @var Template
*/
/** @var Template */
public $template;

/**
Expand Down
8 changes: 2 additions & 6 deletions libraries/classes/Config/Forms/BaseFormList.php
Expand Up @@ -20,14 +20,10 @@ class BaseFormList
*/
protected static $all = [];

/**
* @var string
*/
/** @var string */
protected static $ns = 'PhpMyAdmin\\Config\\Forms\\';

/**
* @var array
*/
/** @var array */
private $_forms;

/**
Expand Down
8 changes: 2 additions & 6 deletions libraries/classes/Config/Forms/Page/PageFormList.php
Expand Up @@ -15,9 +15,7 @@
*/
class PageFormList extends BaseFormList
{
/**
* @var array
*/
/** @var array */
protected static $all = [
'Browse',
'DbStructure',
Expand All @@ -28,8 +26,6 @@ class PageFormList extends BaseFormList
'Sql',
'TableStructure',
];
/**
* @var string
*/
/** @var string */
protected static $ns = '\\PhpMyAdmin\\Config\\Forms\\Page\\';
}
8 changes: 2 additions & 6 deletions libraries/classes/Config/Forms/Setup/SetupFormList.php
Expand Up @@ -15,9 +15,7 @@
*/
class SetupFormList extends BaseFormList
{
/**
* @var array
*/
/** @var array */
protected static $all = [
'Config',
'Export',
Expand All @@ -28,8 +26,6 @@ class SetupFormList extends BaseFormList
'Servers',
'Sql',
];
/**
* @var string
*/
/** @var string */
protected static $ns = '\\PhpMyAdmin\\Config\\Forms\\Setup\\';
}
8 changes: 2 additions & 6 deletions libraries/classes/Config/Forms/User/UserFormList.php
Expand Up @@ -15,9 +15,7 @@
*/
class UserFormList extends BaseFormList
{
/**
* @var array
*/
/** @var array */
protected static $all = [
'Features',
'Sql',
Expand All @@ -26,8 +24,6 @@ class UserFormList extends BaseFormList
'Export',
'Import',
];
/**
* @var string
*/
/** @var string */
protected static $ns = '\\PhpMyAdmin\\Config\\Forms\\User\\';
}
4 changes: 1 addition & 3 deletions libraries/classes/Config/PageSettings.php
Expand Up @@ -51,9 +51,7 @@ class PageSettings
*/
private $_HTML = '';

/**
* @var UserPreferences
*/
/** @var UserPreferences */
private $userPreferences;

/**
Expand Down
4 changes: 1 addition & 3 deletions libraries/classes/Config/ServerConfigChecks.php
Expand Up @@ -26,9 +26,7 @@
*/
class ServerConfigChecks
{
/**
* @var ConfigFile configurations being checked
*/
/** @var ConfigFile configurations being checked */
protected $cfg;

/**
Expand Down
8 changes: 2 additions & 6 deletions libraries/classes/Console.php
Expand Up @@ -35,14 +35,10 @@ class Console
*/
private $_isAjax;

/**
* @var Relation
*/
/** @var Relation */
private $relation;

/**
* @var Template
*/
/** @var Template */
public $template;

/**
Expand Down
12 changes: 3 additions & 9 deletions libraries/classes/Controllers/AbstractController.php
Expand Up @@ -19,19 +19,13 @@
*/
abstract class AbstractController
{
/**
* @var Response
*/
/** @var Response */
protected $response;

/**
* @var DatabaseInterface
*/
/** @var DatabaseInterface */
protected $dbi;

/**
* @var Template
*/
/** @var Template */
protected $template;

/**
Expand Down
4 changes: 1 addition & 3 deletions libraries/classes/Controllers/AjaxController.php
Expand Up @@ -21,9 +21,7 @@
*/
class AjaxController extends AbstractController
{
/**
* @var Config
*/
/** @var Config */
private $config;

/**
Expand Down
8 changes: 2 additions & 6 deletions libraries/classes/Controllers/BrowseForeignersController.php
Expand Up @@ -21,14 +21,10 @@
*/
class BrowseForeignersController extends AbstractController
{
/**
* @var BrowseForeigners
*/
/** @var BrowseForeigners */
private $browseForeigners;

/**
* @var Relation
*/
/** @var Relation */
private $relation;

/**
Expand Down
Expand Up @@ -20,9 +20,7 @@
*/
abstract class AbstractController extends Controller
{
/**
* @var string
*/
/** @var string */
protected $db;

/**
Expand Down
Expand Up @@ -20,9 +20,7 @@
*/
class CentralColumnsController extends AbstractController
{
/**
* @var CentralColumns
*/
/** @var CentralColumns */
private $centralColumns;

/**
Expand Down
Expand Up @@ -21,14 +21,10 @@
*/
class DataDictionaryController extends AbstractController
{
/**
* @var Relation
*/
/** @var Relation */
private $relation;

/**
* @var Transformations
*/
/** @var Transformations */
private $transformations;

/**
Expand Down

0 comments on commit 6283caa

Please sign in to comment.