Skip to content

Commit

Permalink
Remove useless comments in PHP docs
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 88cfde2 commit c231652
Show file tree
Hide file tree
Showing 98 changed files with 2 additions and 242 deletions.
2 changes: 0 additions & 2 deletions libraries/classes/Advisor.php
Expand Up @@ -37,8 +37,6 @@ class Advisor
protected $expression;

/**
* Constructor
*
* @param DatabaseInterface $dbi DatabaseInterface object
* @param ExpressionLanguage $expression ExpressionLanguage object
*/
Expand Down
2 changes: 0 additions & 2 deletions libraries/classes/CentralColumns.php
Expand Up @@ -66,8 +66,6 @@ class CentralColumns
public $template;

/**
* Constructor
*
* @param DatabaseInterface $dbi DatabaseInterface instance
*/
public function __construct(DatabaseInterface $dbi)
Expand Down
2 changes: 0 additions & 2 deletions libraries/classes/CheckUserPrivileges.php
Expand Up @@ -24,8 +24,6 @@ class CheckUserPrivileges
private $dbi;

/**
* Constructor
*
* @param DatabaseInterface $dbi DatabaseInterface object
*/
public function __construct(DatabaseInterface $dbi)
Expand Down
2 changes: 0 additions & 2 deletions libraries/classes/Config.php
Expand Up @@ -79,8 +79,6 @@ class Config
public $done = false;

/**
* constructor
*
* @param string $source source to read config from
*/
public function __construct(?string $source = null)
Expand Down
2 changes: 0 additions & 2 deletions libraries/classes/Config/ConfigFile.php
Expand Up @@ -84,8 +84,6 @@ class ConfigFile
private $_flattenArrayResult;

/**
* Constructor
*
* @param array|null $baseConfig base configuration read from
* {@link PhpMyAdmin\Config::$base_config},
* use only when not in PMA Setup
Expand Down
2 changes: 1 addition & 1 deletion libraries/classes/Config/Form.php
Expand Up @@ -61,7 +61,7 @@ class Form
private $_configFile;

/**
* Constructor, reads default config values
* Reads default config values
*
* @param string $formName Form name
* @param array $form Form data
Expand Down
2 changes: 0 additions & 2 deletions libraries/classes/Config/FormDisplay.php
Expand Up @@ -100,8 +100,6 @@ class FormDisplay
private $formDisplayTemplate;

/**
* Constructor
*
* @param ConfigFile $cf Config file instance
*/
public function __construct(ConfigFile $cf)
Expand Down
2 changes: 0 additions & 2 deletions libraries/classes/Config/Forms/BaseForm.php
Expand Up @@ -19,8 +19,6 @@
abstract class BaseForm extends FormDisplay
{
/**
* Constructor
*
* @param ConfigFile $cf Config file instance
* @param int|null $serverId 0 if new server, validation; >= 1 if editing a server
*/
Expand Down
2 changes: 0 additions & 2 deletions libraries/classes/Config/Forms/BaseFormList.php
Expand Up @@ -62,8 +62,6 @@ public static function get($name)
}

/**
* Constructor
*
* @param ConfigFile $cf Config file instance
*/
public function __construct(ConfigFile $cf)
Expand Down
2 changes: 0 additions & 2 deletions libraries/classes/Config/PageSettings.php
Expand Up @@ -57,8 +57,6 @@ class PageSettings
private $userPreferences;

/**
* Constructor
*
* @param string $formGroupName The name of config form group to display
* @param string $elemId Id of the div containing settings
*/
Expand Down
Expand Up @@ -75,8 +75,6 @@ class StructureController extends AbstractController
private $replication;

/**
* Constructor
*
* @param Response $response Response instance
* @param DatabaseInterface $dbi DatabaseInterface instance
* @param Template $template Template object
Expand Down
2 changes: 0 additions & 2 deletions libraries/classes/Controllers/Table/AbstractController.php
Expand Up @@ -31,8 +31,6 @@ abstract class AbstractController extends Controller
protected $table;

/**
* Constructor
*
* @param Response $response Response object
* @param DatabaseInterface $dbi DatabaseInterface object
* @param Template $template Template object
Expand Down
2 changes: 0 additions & 2 deletions libraries/classes/Controllers/Table/SearchController.php
Expand Up @@ -78,8 +78,6 @@ class SearchController extends AbstractController
private $relation;

/**
* Constructor
*
* @param Response $response Response object
* @param DatabaseInterface $dbi DatabaseInterface object
* @param Template $template Template object
Expand Down
2 changes: 0 additions & 2 deletions libraries/classes/Controllers/Table/StructureController.php
Expand Up @@ -71,8 +71,6 @@ class StructureController extends AbstractController
private $transformations;

/**
* StructureController constructor
*
* @param Response $response Response object
* @param DatabaseInterface $dbi DatabaseInterface object
* @param Template $template Template object
Expand Down
2 changes: 0 additions & 2 deletions libraries/classes/CreateAddField.php
Expand Up @@ -23,8 +23,6 @@ class CreateAddField
private $dbi;

/**
* Constructor
*
* @param DatabaseInterface $dbi DatabaseInterface interface
*/
public function __construct(DatabaseInterface $dbi)
Expand Down
2 changes: 0 additions & 2 deletions libraries/classes/Database/MultiTableQuery.php
Expand Up @@ -59,8 +59,6 @@ class MultiTableQuery
public $template;

/**
* Constructor
*
* @param DatabaseInterface $dbi DatabaseInterface instance
* @param Template $template Template instance
* @param string $dbName Database name
Expand Down
2 changes: 0 additions & 2 deletions libraries/classes/Database/Qbe.php
Expand Up @@ -232,8 +232,6 @@ class Qbe
public $template;

/**
* Public Constructor
*
* @param Relation $relation Relation object
* @param Template $template Template object
* @param DatabaseInterface $dbi DatabaseInterface object
Expand Down
2 changes: 0 additions & 2 deletions libraries/classes/Database/Search.php
Expand Up @@ -96,8 +96,6 @@ class Search
public $template;

/**
* Public Constructor
*
* @param DatabaseInterface $dbi DatabaseInterface object
* @param string $db Database name
* @param Template $template Template object
Expand Down
2 changes: 0 additions & 2 deletions libraries/classes/DatabaseInterface.php
Expand Up @@ -115,8 +115,6 @@ class DatabaseInterface implements DbalInterface
private $relation;

/**
* Constructor
*
* @param DbiExtension $ext Object to be used for database queries
*/
public function __construct(DbiExtension $ext)
Expand Down
3 changes: 0 additions & 3 deletions libraries/classes/Display/Export.php
Expand Up @@ -43,9 +43,6 @@ class Export
*/
public $template;

/**
* Constructor
*/
public function __construct()
{
$this->relation = new Relation($GLOBALS['dbi']);
Expand Down
2 changes: 0 additions & 2 deletions libraries/classes/Display/Results.php
Expand Up @@ -209,8 +209,6 @@ class Results
public $template;

/**
* Constructor for PhpMyAdmin\Display\Results class
*
* @param string $db the database name
* @param string $table the table name
* @param int $server the server id
Expand Down
2 changes: 0 additions & 2 deletions libraries/classes/Error.php
Expand Up @@ -93,8 +93,6 @@ class Error extends Message
protected $hide_location = false;

/**
* Constructor
*
* @param integer $errno error number
* @param string $errstr error message
* @param string $errfile file
Expand Down
3 changes: 0 additions & 3 deletions libraries/classes/ErrorHandler.php
Expand Up @@ -36,9 +36,6 @@ class ErrorHandler
*/
protected $error_reporting = 0;

/**
* Constructor - set PHP error handler
*/
public function __construct()
{
/**
Expand Down
2 changes: 0 additions & 2 deletions libraries/classes/ErrorReport.php
Expand Up @@ -41,8 +41,6 @@ class ErrorReport
public $template;

/**
* Constructor
*
* @param HttpRequest $httpRequest HttpRequest instance
* @param Relation $relation Relation instance
* @param Template $template Template instance
Expand Down
2 changes: 0 additions & 2 deletions libraries/classes/File.php
Expand Up @@ -83,8 +83,6 @@ class File
private $zipExtension;

/**
* constructor
*
* @param boolean|string $name file name or false
*
* @access public
Expand Down
2 changes: 1 addition & 1 deletion libraries/classes/Gis/GisVisualization.php
Expand Up @@ -119,7 +119,7 @@ public function hasSrid()
}

/**
* Constructor. Stores user specified options.
* Stores user specified options.
*
* @param string $sql_query SQL to fetch raw data for visualization
* @param array $options Users specified options
Expand Down
3 changes: 0 additions & 3 deletions libraries/classes/Import.php
Expand Up @@ -42,9 +42,6 @@ class Import
public const SIZES = 1;
public const FORMATTEDSQL = 2;

/**
* Import constructor.
*/
public function __construct()
{
$GLOBALS['cfg']['Server']['DisableIS'] = false;
Expand Down
2 changes: 0 additions & 2 deletions libraries/classes/Index.php
Expand Up @@ -110,8 +110,6 @@ class Index
private $_parser = null;

/**
* Constructor
*
* @param array $params parameters
*/
public function __construct(array $params = [])
Expand Down
2 changes: 0 additions & 2 deletions libraries/classes/IndexColumn.php
Expand Up @@ -59,8 +59,6 @@ class IndexColumn
private $_cardinality = null;

/**
* Constructor
*
* @param array $params an array containing the parameters of the index column
*/
public function __construct(array $params = [])
Expand Down
2 changes: 0 additions & 2 deletions libraries/classes/InsertEdit.php
Expand Up @@ -47,8 +47,6 @@ class InsertEdit
public $template;

/**
* Constructor
*
* @param DatabaseInterface $dbi DatabaseInterface instance
*/
public function __construct(DatabaseInterface $dbi)
Expand Down
3 changes: 0 additions & 3 deletions libraries/classes/ListDatabase.php
Expand Up @@ -24,9 +24,6 @@
*/
class ListDatabase extends ListAbstract
{
/**
* Constructor
*/
public function __construct()
{
parent::__construct();
Expand Down
2 changes: 0 additions & 2 deletions libraries/classes/Message.php
Expand Up @@ -128,8 +128,6 @@ class Message
protected $addedMessages = [];

/**
* Constructor
*
* @param string $string The message to be displayed
* @param integer $number A numeric representation of the type of message
* @param array $params An array of parameters to use in the message
Expand Down
3 changes: 0 additions & 3 deletions libraries/classes/MultSubmits.php
Expand Up @@ -33,9 +33,6 @@ class MultSubmits
*/
private $operations;

/**
* MultSubmits constructor.
*/
public function __construct()
{
$this->transformations = new Transformations();
Expand Down
2 changes: 0 additions & 2 deletions libraries/classes/Normalization.php
Expand Up @@ -42,8 +42,6 @@ class Normalization
public $template;

/**
* Constructor
*
* @param DatabaseInterface $dbi DatabaseInterface instance
* @param Relation $relation Relation instance
* @param Transformations $transformations Transformations instance
Expand Down
3 changes: 0 additions & 3 deletions libraries/classes/Plugins/Auth/AuthenticationCookie.php
Expand Up @@ -41,9 +41,6 @@ class AuthenticationCookie extends AuthenticationPlugin
*/
private $_use_openssl;

/**
* Constructor
*/
public function __construct()
{
parent::__construct();
Expand Down
3 changes: 0 additions & 3 deletions libraries/classes/Plugins/AuthenticationPlugin.php
Expand Up @@ -51,9 +51,6 @@ abstract class AuthenticationPlugin
*/
public $template;

/**
* AuthenticationPlugin constructor.
*/
public function __construct()
{
$this->ipAllowDeny = new IpAllowDeny();
Expand Down
3 changes: 0 additions & 3 deletions libraries/classes/Plugins/Export/ExportCodegen.php
Expand Up @@ -39,9 +39,6 @@ class ExportCodegen extends ExportPlugin
*/
private $_cgHandlers;

/**
* Constructor
*/
public function __construct()
{
parent::__construct();
Expand Down
3 changes: 0 additions & 3 deletions libraries/classes/Plugins/Export/ExportCsv.php
Expand Up @@ -26,9 +26,6 @@
*/
class ExportCsv extends ExportPlugin
{
/**
* Constructor
*/
public function __construct()
{
parent::__construct();
Expand Down
3 changes: 0 additions & 3 deletions libraries/classes/Plugins/Export/ExportHtmlword.php
Expand Up @@ -27,9 +27,6 @@
*/
class ExportHtmlword extends ExportPlugin
{
/**
* Constructor
*/
public function __construct()
{
parent::__construct();
Expand Down
3 changes: 0 additions & 3 deletions libraries/classes/Plugins/Export/ExportJson.php
Expand Up @@ -27,9 +27,6 @@ class ExportJson extends ExportPlugin
{
private $first = true;

/**
* Constructor
*/
public function __construct()
{
parent::__construct();
Expand Down
3 changes: 0 additions & 3 deletions libraries/classes/Plugins/Export/ExportLatex.php
Expand Up @@ -27,9 +27,6 @@
*/
class ExportLatex extends ExportPlugin
{
/**
* Constructor
*/
public function __construct()
{
parent::__construct();
Expand Down
3 changes: 0 additions & 3 deletions libraries/classes/Plugins/Export/ExportMediawiki.php
Expand Up @@ -27,9 +27,6 @@
*/
class ExportMediawiki extends ExportPlugin
{
/**
* Constructor
*/
public function __construct()
{
parent::__construct();
Expand Down

0 comments on commit c231652

Please sign in to comment.