diff --git a/composer.lock b/composer.lock
index 0f05abc..4c27786 100644
--- a/composer.lock
+++ b/composer.lock
@@ -580,11 +580,11 @@
},
{
"name": "phpstan/phpstan",
- "version": "2.1.38",
+ "version": "2.1.46",
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/phpstan/phpstan/zipball/dfaf1f530e1663aa167bc3e52197adb221582629",
- "reference": "dfaf1f530e1663aa167bc3e52197adb221582629",
+ "url": "https://api.github.com/repos/phpstan/phpstan/zipball/a193923fc2d6325ef4e741cf3af8c3e8f54dbf25",
+ "reference": "a193923fc2d6325ef4e741cf3af8c3e8f54dbf25",
"shasum": ""
},
"require": {
@@ -629,20 +629,20 @@
"type": "github"
}
],
- "time": "2026-01-30T17:12:46+00:00"
+ "time": "2026-04-01T09:25:14+00:00"
},
{
"name": "phpunit/php-code-coverage",
- "version": "13.0.1",
+ "version": "13.0.2",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/php-code-coverage.git",
- "reference": "a8b58fde2f4fbc69a064e1f80ff917607cf7737c"
+ "reference": "2ea1bcdad040326c02edd6519cc9d1c5a9f6c87e"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/a8b58fde2f4fbc69a064e1f80ff917607cf7737c",
- "reference": "a8b58fde2f4fbc69a064e1f80ff917607cf7737c",
+ "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/2ea1bcdad040326c02edd6519cc9d1c5a9f6c87e",
+ "reference": "2ea1bcdad040326c02edd6519cc9d1c5a9f6c87e",
"shasum": ""
},
"require": {
@@ -651,7 +651,6 @@
"ext-xmlwriter": "*",
"nikic/php-parser": "^5.7.0",
"php": ">=8.4",
- "phpunit/php-file-iterator": "^7.0",
"phpunit/php-text-template": "^6.0",
"sebastian/complexity": "^6.0",
"sebastian/environment": "^9.0",
@@ -698,7 +697,7 @@
"support": {
"issues": "https://github.com/sebastianbergmann/php-code-coverage/issues",
"security": "https://github.com/sebastianbergmann/php-code-coverage/security/policy",
- "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/13.0.1"
+ "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/13.0.2"
},
"funding": [
{
@@ -718,7 +717,7 @@
"type": "tidelift"
}
],
- "time": "2026-02-06T06:05:15+00:00"
+ "time": "2026-04-01T14:12:38+00:00"
},
{
"name": "phpunit/php-file-iterator",
@@ -1015,16 +1014,16 @@
},
{
"name": "phpunit/phpunit",
- "version": "13.0.1",
+ "version": "13.0.6",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/phpunit.git",
- "reference": "35b8abcac712ba24814d7fe8908dfb5702efb39f"
+ "reference": "9e426f7282c313c9138eeb9f25461e1a6be1e647"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/35b8abcac712ba24814d7fe8908dfb5702efb39f",
- "reference": "35b8abcac712ba24814d7fe8908dfb5702efb39f",
+ "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/9e426f7282c313c9138eeb9f25461e1a6be1e647",
+ "reference": "9e426f7282c313c9138eeb9f25461e1a6be1e647",
"shasum": ""
},
"require": {
@@ -1046,7 +1045,7 @@
"sebastian/cli-parser": "^5.0.0",
"sebastian/comparator": "^8.0.0",
"sebastian/diff": "^8.0.0",
- "sebastian/environment": "^9.0.0",
+ "sebastian/environment": "^9.1.0",
"sebastian/exporter": "^8.0.0",
"sebastian/global-state": "^9.0.0",
"sebastian/object-enumerator": "^8.0.0",
@@ -1093,31 +1092,15 @@
"support": {
"issues": "https://github.com/sebastianbergmann/phpunit/issues",
"security": "https://github.com/sebastianbergmann/phpunit/security/policy",
- "source": "https://github.com/sebastianbergmann/phpunit/tree/13.0.1"
+ "source": "https://github.com/sebastianbergmann/phpunit/tree/13.0.6"
},
"funding": [
{
- "url": "https://phpunit.de/sponsors.html",
- "type": "custom"
- },
- {
- "url": "https://github.com/sebastianbergmann",
- "type": "github"
- },
- {
- "url": "https://liberapay.com/sebastianbergmann",
- "type": "liberapay"
- },
- {
- "url": "https://thanks.dev/u/gh/sebastianbergmann",
- "type": "thanks_dev"
- },
- {
- "url": "https://tidelift.com/funding/github/packagist/phpunit/phpunit",
- "type": "tidelift"
+ "url": "https://phpunit.de/sponsoring.html",
+ "type": "other"
}
],
- "time": "2026-02-08T07:08:25+00:00"
+ "time": "2026-03-31T06:44:39+00:00"
},
{
"name": "psr/cache",
@@ -1633,16 +1616,16 @@
},
{
"name": "sebastian/environment",
- "version": "9.0.0",
+ "version": "9.1.0",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/environment.git",
- "reference": "bb64d08145b021b67d5f253308a498b73ab0461e"
+ "reference": "c4a2dc54b1a24e13ef1839cbb5947b967cbae853"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/bb64d08145b021b67d5f253308a498b73ab0461e",
- "reference": "bb64d08145b021b67d5f253308a498b73ab0461e",
+ "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/c4a2dc54b1a24e13ef1839cbb5947b967cbae853",
+ "reference": "c4a2dc54b1a24e13ef1839cbb5947b967cbae853",
"shasum": ""
},
"require": {
@@ -1657,7 +1640,7 @@
"type": "library",
"extra": {
"branch-alias": {
- "dev-main": "9.0-dev"
+ "dev-main": "9.1-dev"
}
},
"autoload": {
@@ -1685,7 +1668,7 @@
"support": {
"issues": "https://github.com/sebastianbergmann/environment/issues",
"security": "https://github.com/sebastianbergmann/environment/security/policy",
- "source": "https://github.com/sebastianbergmann/environment/tree/9.0.0"
+ "source": "https://github.com/sebastianbergmann/environment/tree/9.1.0"
},
"funding": [
{
@@ -1705,7 +1688,7 @@
"type": "tidelift"
}
],
- "time": "2026-02-06T04:43:29+00:00"
+ "time": "2026-03-22T06:31:50+00:00"
},
{
"name": "sebastian/exporter",
@@ -4015,5 +3998,5 @@
"ext-pdo": "*"
},
"platform-dev": {},
- "plugin-api-version": "2.6.0"
+ "plugin-api-version": "2.9.0"
}
diff --git a/phpunit.xml b/phpunit.xml
index 807fa11..7d00650 100644
--- a/phpunit.xml
+++ b/phpunit.xml
@@ -26,7 +26,6 @@
-
diff --git a/src/LionDatabase/Drivers/MySQL.php b/src/LionDatabase/Drivers/MySQL.php
index 9ee5d27..f150618 100644
--- a/src/LionDatabase/Drivers/MySQL.php
+++ b/src/LionDatabase/Drivers/MySQL.php
@@ -945,7 +945,12 @@ public static function as(string $as, ?string $column = null, bool $isString = f
*/
public static function concat(): array|string|null
{
- return str_replace('*', implode(', ', func_get_args()), self::getKey(Driver::MYSQL, 'concat'));
+ /** @var list $columns */
+ $columns = func_get_args();
+
+ $columnsList = implode(', ', $columns);
+
+ return str_replace('*', $columnsList, self::getKey(Driver::MYSQL, 'concat'));
}
/**