HuasoFoundries /
phpPgAdmin6
| 1 | <?php |
||||
| 2 | |||||
| 3 | /** |
||||
| 4 | * PHPPgAdmin 6.1.3 |
||||
| 5 | */ |
||||
| 6 | |||||
| 7 | namespace PHPPgAdmin\Database; |
||||
| 8 | |||||
| 9 | /** |
||||
| 10 | * @file |
||||
| 11 | * PostgreSQL 12.x support |
||||
| 12 | */ |
||||
| 13 | /** |
||||
| 14 | * Class to add support for Postgres12. |
||||
| 15 | */ |
||||
| 16 | class Postgres12 extends Postgres11 |
||||
| 17 | { |
||||
| 18 | /** |
||||
| 19 | * @var float |
||||
| 20 | */ |
||||
| 21 | public $major_version = 12; |
||||
| 22 | |||||
| 23 | /** |
||||
| 24 | * @var class-string |
||||
|
0 ignored issues
–
show
Documentation
Bug
introduced
by
Loading history...
|
|||||
| 25 | */ |
||||
| 26 | public $help_classname = \PHPPgAdmin\Help\PostgresDoc12::class; |
||||
| 27 | |||||
| 28 | /** |
||||
| 29 | * Checks to see whether or not a table has a unique id column. |
||||
| 30 | * |
||||
| 31 | * @deprecated this field has been removed of pg_class as of PG 12 |
||||
| 32 | * @see https://www.postgresql.org/docs/12/catalog-pg-class.html |
||||
| 33 | * |
||||
| 34 | * @param string $table The table name |
||||
| 35 | * |
||||
| 36 | * @return bool |
||||
| 37 | */ |
||||
| 38 | public function hasObjectID($table) |
||||
|
0 ignored issues
–
show
The parameter
$table is not used and could be removed.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
This check looks for parameters that have been defined for a function or method, but which are not used in the method body. Loading history...
|
|||||
| 39 | { |
||||
| 40 | return false; |
||||
| 41 | } |
||||
| 42 | } |
||||
| 43 |