diff options
author | Michal Čihař <michal@cihar.com> | 2016-03-01 20:05:31 +0100 |
---|---|---|
committer | Michal Čihař <michal@cihar.com> | 2016-12-21 15:03:21 +0100 |
commit | 95c9d8d3343a117458b127b176839bc893e20809 (patch) | |
tree | 7ee817bd7d05e4b737ffd951e2ad65059bc65fb9 /src/Components/Array2d.php | |
parent | c6a4ff014df3e120f17c94cdd399314d6941e469 (diff) | |
download | sql-parser-95c9d8d3343a117458b127b176839bc893e20809.zip sql-parser-95c9d8d3343a117458b127b176839bc893e20809.tar.gz sql-parser-95c9d8d3343a117458b127b176839bc893e20809.tar.bz2 |
Use static method for translating
Signed-off-by: Michal Čihař <michal@cihar.com>
Diffstat (limited to 'src/Components/Array2d.php')
-rw-r--r-- | src/Components/Array2d.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Components/Array2d.php b/src/Components/Array2d.php index 584ab4d..13d2a8f 100644 --- a/src/Components/Array2d.php +++ b/src/Components/Array2d.php @@ -89,7 +89,7 @@ class Array2d extends Component } elseif ($arrCount != $count) { $parser->error( sprintf( - Translator::getInstance()->gettext('%1$d values were expected, but found %2$d.'), + Translator::gettext('%1$d values were expected, but found %2$d.'), $count, $arrCount ), |