diff options
author | William Desportes <williamdes@wdes.fr> | 2018-06-26 02:34:46 +0300 |
---|---|---|
committer | MaurĂcio Meneghini Fauth <mauriciofauth@gmail.com> | 2018-06-26 02:34:46 +0300 |
commit | e816e45c183f49e770b4c36714c509e913d2043c (patch) | |
tree | f2428f72ea1cf2b9e3cc6a5f464bbba8c24c8860 /libraries/classes/TwoFactor.php | |
parent | 4d8310432f2c46a425cd1a61c5fec3b9e82b82a7 (diff) |
phpstan level 0 (#14405)
* Fix phpdoc @return
- Fixed @return typehint
Signed-off-by: William Desportes <williamdes@wdes.fr>
* Fix incorrect case on function calls
Signed-off-by: William Desportes <williamdes@wdes.fr>
* Type hint + typo fix
Signed-off-by: William Desportes <williamdes@wdes.fr>
* Fixes
- @return fix
- @var fix
- Class names
- Throws fix
- test/classes/Plugins/Export/ExportSqlTest.php any() invoked with 1 parameter, 0 required
- libraries/classes/Controllers/Table/TableStructureController.php Array has 2 duplicate keys with value 'columns_list'
- Call parent constructor libraries/classes/Error.php
Signed-off-by: William Desportes <williamdes@wdes.fr>
* Update config
Signed-off-by: William Desportes <williamdes@wdes.fr>
* Access to an undefined property
- Access to an undefined property PhpMyAdmin\Plugins\Schema\Pdf\PdfRelationSchema::$diagram_row
- Access to an undefined property PhpMyAdmin\Plugins\Schema\Pdf\Pdf::$cMargin
- Undefined properties
Signed-off-by: William Desportes <williamdes@wdes.fr>
* Update config
Signed-off-by: William Desportes <williamdes@wdes.fr>
* Fix bootstrap-phpstan
Signed-off-by: William Desportes <williamdes@wdes.fr>
* Fix typos and phpstan config
Fixes: #14399
Signed-off-by: William Desportes <williamdes@wdes.fr>
Diffstat (limited to 'libraries/classes/TwoFactor.php')
-rw-r--r-- | libraries/classes/TwoFactor.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libraries/classes/TwoFactor.php b/libraries/classes/TwoFactor.php index fd20a43690..781d9d6470 100644 --- a/libraries/classes/TwoFactor.php +++ b/libraries/classes/TwoFactor.php @@ -177,7 +177,7 @@ class TwoFactor /** * Returns backend for current user * - * @return PhpMyAdmin\Plugins\TwoFactorPlugin + * @return \PhpMyAdmin\Plugins\TwoFactorPlugin */ public function getBackend() { @@ -226,7 +226,7 @@ class TwoFactor /** * Saves current configuration. * - * @return true|PhpMyAdmin\Message + * @return true|\PhpMyAdmin\Message */ public function save() { |