Skip to content

Commit

Permalink
[#586] Updated callback format
Browse files Browse the repository at this point in the history
  • Loading branch information
vasek committed Mar 24, 2016
1 parent 3ef7851 commit f1a1c58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/versionpress/src/Utils/QueryLanguageUtils.php
Expand Up @@ -102,7 +102,7 @@ public static function createGitLogQueryFromRule($rawRule) {
$escapedKey = self::escapeGitLogArgument($key);
$rule[$escapedKey] = ($key === 'date')
? $rule[$escapedKey] = $array
: array_map('\VersionPress\Utils\QueryLanguageUtils::escapeGitLogArgument', $array);
: array_map(['VersionPress\Utils\QueryLanguageUtils', 'escapeGitLogArgument'], $array);
}

if (!empty($rule['author'])) {
Expand Down

0 comments on commit f1a1c58

Please sign in to comment.