diff options
| author | Damien Regad <dregad@mantisbt.org> | 2021-08-22 12:26:35 +0200 |
|---|---|---|
| committer | Damien Regad <dregad@mantisbt.org> | 2021-08-22 12:26:35 +0200 |
| commit | 5a6bc22606c1a137ec7447097895b6077490f7f7 (patch) | |
| tree | 8e2b81c6f3b41628fa7ee4176410d10833aeaf08 /adodb-datadict.inc.php | |
| parent | 256ef62bcc71b993bea2494b08e84f42b64ce4b3 (diff) | |
| download | adodb-5a6bc22606c1a137ec7447097895b6077490f7f7.tar.gz adodb-5a6bc22606c1a137ec7447097895b6077490f7f7.tar.bz2 adodb-5a6bc22606c1a137ec7447097895b6077490f7f7.zip | |
Fix Whitespace, coding guidelines, PHPDoc
Diffstat (limited to 'adodb-datadict.inc.php')
| -rw-r--r-- | adodb-datadict.inc.php | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/adodb-datadict.inc.php b/adodb-datadict.inc.php index bfacb5ff..c73d5f2a 100644 --- a/adodb-datadict.inc.php +++ b/adodb-datadict.inc.php @@ -353,7 +353,7 @@ class ADODB_DataDict { function nameQuote($name = NULL,$allowBrackets=false) { if (!is_string($name)) { - return FALSE; + return false; } $name = trim($name); @@ -428,14 +428,14 @@ class ADODB_DataDict { function actualType($meta) { $meta = strtoupper($meta); - + /* * Add support for custom meta types. We do this * first, that allows us to override existing types */ if (isset($this->connection->customMetaTypes[$meta])) return $this->connection->customMetaTypes[$meta]['actual']; - + return $meta; } @@ -704,23 +704,23 @@ class ADODB_DataDict { case '0': case 'NAME': $fname = $v; break; case '1': - case 'TYPE': - - $ty = $v; - $ftype = $this->actualType(strtoupper($v)); + case 'TYPE': + + $ty = $v; + $ftype = $this->actualType(strtoupper($v)); break; case 'SIZE': - $dotat = strpos($v,'.'); - if ($dotat === false) + $dotat = strpos($v,'.'); + if ($dotat === false) $dotat = strpos($v,','); - if ($dotat === false) + if ($dotat === false) $fsize = $v; else { - + $fsize = substr($v,0,$dotat); $fprec = substr($v,$dotat+1); - + } break; case 'UNSIGNED': $funsigned = true; break; |
