Fixed static call of not static method

This commit is contained in:
Lukas Metzger 2018-03-30 10:18:54 +02:00
parent 51e294acc2
commit 4a7f884fb6
2 changed files with 1 additions and 3 deletions

View file

@ -107,7 +107,7 @@ class Database
*
* @return string SQL string to use
*/
public function makeSetString(\PDO $db, ? string $input) : string
public static function makeSetString(\PDO $db, ? string $input) : string
{
if ($input === null || $input === '') {
return '(\'\')';

View file

@ -24,8 +24,6 @@ test.run(async function () {
assert.equal(res.status, 200);
console.log(res.data);
var sortedData = res.data.results.slice();
sortedData.sort(function (a, b) {
for (sort of list) {