aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/IDBConnection.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/IDBConnection.php')
-rw-r--r--lib/public/IDBConnection.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/public/IDBConnection.php b/lib/public/IDBConnection.php
index a5df85896e2..09bd1a564cd 100644
--- a/lib/public/IDBConnection.php
+++ b/lib/public/IDBConnection.php
@@ -278,6 +278,7 @@ interface IDBConnection {
*
* @return \Doctrine\DBAL\Platforms\AbstractPlatform The database platform.
* @since 8.0.0
+ * @deprecated 30.0.0 Please use {@see self::getDatabaseProvider()} and compare to self::PLATFORM_* constants
*/
public function getDatabasePlatform();
@@ -341,7 +342,7 @@ interface IDBConnection {
* Returns the database provider name
* @link https://github.com/nextcloud/server/issues/30877
* @since 28.0.0
- * @return IDBConnection::PLATFORM_*
+ * @return self::PLATFORM_MYSQL|self::PLATFORM_ORACLE|self::PLATFORM_POSTGRES|self::PLATFORM_SQLITE
*/
public function getDatabaseProvider(): string;
}