Skip to content

Commit 5a3e404

Browse files
committed
temporary use trait as class
1 parent 934e84b commit 5a3e404

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/ClickHouseSQLParser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
* @copyright 2017, Ierusalim
1212
* @license https://opensource.org/licenses/Apache-2.0 Apache-2.0
1313
*/
14-
trait ClickHouseSQLParser
14+
class ClickHouseSQLParser
1515
{
1616
/**
1717
* Check string may interpreted as name of ClickHouse data-type

tests/src/ClickHouseSQLParserTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ class ClickHouseSQLParserTest extends \PHPUnit_Framework_TestCase
1818
*/
1919
protected function setUp()
2020
{
21-
//$this->object = new ClickHouseSQLParser;
22-
$this->object = new ClickHouseTableType; // use inside as trait
21+
$this->object = new ClickHouseSQLParser;
22+
//$this->object = new ClickHouseTableType; // use inside as trait
2323
}
2424

2525
/**

0 commit comments

Comments
 (0)