@@ -475,6 +475,8 @@ public function initialize()
475475
476476 /**
477477 * Close the database connection.
478+ *
479+ * @return void
478480 */
479481 public function close ()
480482 {
@@ -734,6 +736,8 @@ public function simpleQuery(string $sql)
734736 * Disable Transactions
735737 *
736738 * This permits transactions to be disabled at run-time.
739+ *
740+ * @return void
737741 */
738742 public function transOff ()
739743 {
@@ -1434,7 +1438,7 @@ protected function getDriverFunctionPrefix(): string
14341438 /**
14351439 * Returns an array of table names
14361440 *
1437- * @return array| false
1441+ * @return false|list<string>
14381442 *
14391443 * @throws DatabaseException
14401444 */
@@ -1461,6 +1465,7 @@ public function listTables(bool $constrainByPrefix = false)
14611465 $ query = $ this ->query ($ sql );
14621466
14631467 foreach ($ query ->getResultArray () as $ row ) {
1468+ /** @var string $table */
14641469 $ table = $ row ['table_name ' ] ?? $ row ['TABLE_NAME ' ] ?? $ row [array_key_first ($ row )];
14651470
14661471 $ this ->dataCache ['table_names ' ][] = $ table ;
@@ -1511,7 +1516,7 @@ public function tableExists(string $tableName, bool $cached = true): bool
15111516 /**
15121517 * Fetch Field Names
15131518 *
1514- * @return array| false
1519+ * @return false|list<string>
15151520 *
15161521 * @throws DatabaseException
15171522 */
@@ -1588,7 +1593,7 @@ public function getIndexData(string $table)
15881593 /**
15891594 * Returns an object with foreign key data
15901595 *
1591- * @return array
1596+ * @return array<string, stdClass>
15921597 */
15931598 public function getForeignKeyData (string $ table )
15941599 {
@@ -1747,7 +1752,9 @@ abstract protected function _listColumns(string $table = '');
17471752 /**
17481753 * Platform-specific field data information.
17491754 *
1750- * @see getFieldData()
1755+ * @return list<stdClass>
1756+ * @see getFieldData()
1757+ *
17511758 */
17521759 abstract protected function _fieldData (string $ table ): array ;
17531760
0 commit comments