Skip to content

Commit a73e7fe

Browse files
committed
Missed one
1 parent b69380d commit a73e7fe

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

config/database.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,8 @@
8585
'strict' => true,
8686
'engine' => null,
8787
'options' => extension_loaded('pdo_mysql') ? array_filter([
88-
PDO::MYSQL_ATTR_SSL_CA => env('MYSQL_ATTR_SSL_CA'),
88+
// @phpstan-ignore class.notFound, greaterOrEqual.alwaysFalse
89+
(PHP_VERSION_ID >= 80500 ? Pdo\Mysql::ATTR_SSL_CA : PDO::MYSQL_ATTR_SSL_CA) => env('MYSQL_ATTR_SSL_CA'),
8990
]) : [],
9091
],
9192

0 commit comments

Comments
 (0)