1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-08 23:57:29 +02:00

Plugins: Compatibility with PHP 5

This commit is contained in:
Jakub Vrana
2025-04-08 13:14:32 +02:00
parent e601a3d8ce
commit 6da8bb670a
7 changed files with 7 additions and 7 deletions

View File

@@ -16,7 +16,7 @@ class AdminerSqlGemini extends Adminer\Plugin {
* @param string $apiKey The default key is shared with all users and may run out of quota; get your own API key at: https://aistudio.google.com/apikey
* @param string $model Available models: https://ai.google.dev/gemini-api/docs/models#available-models
*/
function __construct(string $apiKey = 'AIzaSyDWDbPjmvH9_hphsnY_yJGdue42qRMG3do', string $model = "gemini-2.0-flash") {
function __construct($apiKey = 'AIzaSyDWDbPjmvH9_hphsnY_yJGdue42qRMG3do', $model = "gemini-2.0-flash") {
$this->apiKey = $apiKey;
$this->model = $model;
}