Replace deprecated use of "self" in callables

- Address part of https://github.com/friendica/friendica/issues/12011#issuecomment-1383147421
This commit is contained in:
Hypolite Petovan 2023-01-19 09:02:05 -05:00
parent 881cb456e2
commit 7e618856ab
10 changed files with 22 additions and 22 deletions

View file

@ -1032,7 +1032,7 @@ class HTML
// the quotes, e.g.:
//
// concat("'foo'", '"', "bar")
return 'concat(' . implode(', \'"\', ', array_map(['self', 'xpathQuote'], explode('"', $value))) . ')';
return 'concat(' . implode(', \'"\', ', array_map([self::class, 'xpathQuote'], explode('"', $value))) . ')';
}
/**