Your ROOT_URL in app.ini is https://code.exacti.com.br/ but you are visiting https://git.exacti.com.br/ExacTI/phacil-framework/src/commit/90b59d5a45fbac61f7f568e4fda3a2db58ec96cf/system/MagiQL/Builder/Syntax/Adapt/MSSQL/ColumnTable.php You should set ROOT_URL correctly, otherwise the web may not work correctly.
A super easy PHP Framework for web development! https://github.com/exacti/phacil-framework

31 lines
710 B

<?php
/**
* Copyright © 2024 ExacTI Technology Solutions. All rights reserved.
* GPLv3 General License.
* https://exacti.com.br
* Phacil PHP Framework - https://github.com/exacti/phacil-framework
*/
namespace Phacil\Framework\MagiQL\Builder\Syntax\Adapt\MSSQL;
use Phacil\Framework\MagiQL\Builder\MySqlBuilder as GenericBuilder;
use Phacil\Framework\MagiQL\Syntax\Column;
use Phacil\Framework\MagiQL\Syntax\Table;
class ColumnTable extends GenericBuilder
{
/**
* @param $string
* @param string $char
*
* @return string
*/
protected function wrapper($string, $char = '[', $charend = ']')
{
if (0 === strlen($string)) {
return '';
}
return $char . $string . $charend;
}
}