Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
71 changes: 27 additions & 44 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion phpunit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
<php>
<env name="APP_ENV" value="testing" />
<ini name="date.timezone" value="America/Bogota" />
<ini name="intl.default_locale" value="C.UTF-8" />
<ini name="memory_limit" value="2048M" />
</php>

Expand Down
7 changes: 6 additions & 1 deletion src/LionDatabase/Drivers/MySQL.php
Original file line number Diff line number Diff line change
Expand Up @@ -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<string> $columns */
$columns = func_get_args();

$columnsList = implode(', ', $columns);

return str_replace('*', $columnsList, self::getKey(Driver::MYSQL, 'concat'));
}

/**
Expand Down
Loading