mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 12:24:04 +00:00
Fix PHPStan error
This commit is contained in:
parent
4c7fff73ec
commit
c819c69c94
1 changed files with 1 additions and 1 deletions
|
|
@ -41,7 +41,7 @@ class PermissionControlledMySQLDatabaseManager extends MySQLDatabaseManager impl
|
||||||
|
|
||||||
protected function isVersion8(): bool
|
protected function isVersion8(): bool
|
||||||
{
|
{
|
||||||
$versionSelect = $this->database()->raw('select version()')->getValue($this->database()->getQueryGrammar());
|
$versionSelect = (string) $this->database()->raw('select version()')->getValue($this->database()->getQueryGrammar());
|
||||||
$version = $this->database()->select($versionSelect)[0]->{'version()'};
|
$version = $this->database()->select($versionSelect)[0]->{'version()'};
|
||||||
|
|
||||||
return version_compare($version, '8.0.0') >= 0;
|
return version_compare($version, '8.0.0') >= 0;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue