fix debug msg

This commit is contained in:
James Cole
2023-12-01 11:21:04 +01:00
parent a8ade914ac
commit d2f0eab4c4

View File

@@ -1371,7 +1371,7 @@ class OperatorQuerySearch implements SearchInterface
*/
private function searchAccount(string $value, SearchDirection $searchDirection, StringPosition $stringPosition, bool $prohibited = false): void
{
app('log')->debug(sprintf('searchAccount("%s", %s, %s)', $value, $stringPosition, $searchDirection));
app('log')->debug(sprintf('searchAccount("%s", %s, %s)', $value, $stringPosition->name, $searchDirection->name));
// search direction (default): for source accounts
$searchTypes = [AccountType::ASSET, AccountType::MORTGAGE, AccountType::LOAN, AccountType::DEBT, AccountType::REVENUE];