1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-06 14:46:36 +02:00

AdminerLoginSsl: Document type

This commit is contained in:
Jakub Vrana
2025-03-28 07:14:02 +01:00
parent 911f3b71b7
commit 69073d9d54

View File

@@ -10,7 +10,7 @@ class AdminerLoginSsl {
protected $ssl;
/**
* @param array $ssl
* @param array{ssl?:string, cert?:string, verify?:bool, mode?:string, Encrypt?:bool, TrustServerCertificate?:bool} $ssl
* MySQL: ["key" => filename, "cert" => filename, "ca" => filename, "verify" => bool]
* PostgresSQL: ["mode" => sslmode] (https://www.postgresql.org/docs/current/libpq-connect.html#LIBPQ-CONNECT-SSLMODE)
* MSSQL: ["Encrypt" => true, "TrustServerCertificate" => true] (https://learn.microsoft.com/en-us/sql/connect/php/connection-options)