summaryrefslogtreecommitdiff
path: root/adodb-datadict.inc.php
diff options
context:
space:
mode:
authorDamien Regad <dregad@mantisbt.org>2021-03-11 19:27:26 +0100
committerDamien Regad <dregad@mantisbt.org>2021-03-11 19:27:26 +0100
commitac284ab4e47ca01f22096cde32b5833c60ae69ee (patch)
tree4807dbb26c855370ffc5aafb57fdf48c5c81b8ba /adodb-datadict.inc.php
parent91dbbef4f56543d52f9cc97c7239b02119ab0253 (diff)
downloadadodb-ac284ab4e47ca01f22096cde32b5833c60ae69ee.tar.gz
adodb-ac284ab4e47ca01f22096cde32b5833c60ae69ee.tar.bz2
adodb-ac284ab4e47ca01f22096cde32b5833c60ae69ee.zip
Fix PHPStorm static analysis warnings
- SQL syntax - unused variables - duplicated code - Whitespace - Variables and return types in PHPDoc
Diffstat (limited to 'adodb-datadict.inc.php')
-rw-r--r--adodb-datadict.inc.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/adodb-datadict.inc.php b/adodb-datadict.inc.php
index f458e1b3..30ede0e0 100644
--- a/adodb-datadict.inc.php
+++ b/adodb-datadict.inc.php
@@ -164,6 +164,7 @@ function lens_ParseArgs($args,$endstmtchar=',',$tokenchars='_.-')
class ADODB_DataDict {
+ /** @var ADOConnection */
var $connection;
var $debug = false;
var $dropTable = 'DROP TABLE %s';
@@ -182,6 +183,8 @@ class ADODB_DataDict {
var $invalidResizeTypes4 = array('CLOB','BLOB','TEXT','DATE','TIME'); // for changeTableSQL
var $blobSize = 100; /// any varchar/char field this size or greater is treated as a blob
/// in other words, we use a text area for editing.
+ /** @var string Uppercase driver name */
+ var $upperName;
/*
* Indicates whether a BLOB/CLOB field will allow a NOT NULL setting