Skip to content

Firefly III: a personal finances manager

Enable cache again. [skip ci]

James Cole7696dd7148c2
diff --git a/app/Support/Search/Search.php b/app/Support/Search/Search.php
index 8b0a8d4cc8..4f2b698098 100644
--- a/app/Support/Search/Search.php
+++ b/app/Support/Search/Search.php
@@ -198,40 +198,40 @@ class Search implements SearchInterface
case 'amount_is':
case 'amount':
$amount = app('steam')->positive(strval($modifier['value']));
- Log::debug('Set "%s" using collector with value "%s"', $modifier['type'], $amount);
+ Log::debug(sprintf('Set "%s" using collector with value "%s"', $modifier['type'], $amount));
$collector->amountIs($amount);
break;
case 'amount_min':
case 'amount_less':
$amount = app('steam')->positive(strval($modifier['value']));
- Log::debug('Set "%s" using collector with value "%s"', $modifier['type'], $amount);
+ Log::debug(sprintf('Set "%s" using collector with value "%s"', $modifier['type'], $amount));
$collector->amountLess($amount);
break;
case 'amount_max':
case 'amount_more':
$amount = app('steam')->positive(strval($modifier['value']));
- Log::debug('Set "%s" using collector with value "%s"', $modifier['type'], $amount);
+ Log::debug(sprintf('Set "%s" using collector with value "%s"', $modifier['type'], $amount));
$collector->amountMore($amount);
break;
case 'type':
$collector->setTypes([ucfirst($modifier['value'])]);
- Log::debug('Set "%s" using collector with value "%s"', $modifier['type'], $modifier['value']);
+ Log::debug(sprintf('Set "%s" using collector with value "%s"', $modifier['type'], $modifier['value']));
break;
case 'date':
case 'on':
- Log::debug('Set "%s" using collector with value "%s"', $modifier['type'], $modifier['value']);
+ Log::debug(sprintf('Set "%s" using collector with value "%s"', $modifier['type'], $modifier['value']));
$start = new Carbon($modifier['value']);
$collector->setRange($start, $start);
break;
case 'date_before':
case 'before':
- Log::debug('Set "%s" using collector with value "%s"', $modifier['type'], $modifier['value']);
+ Log::debug(sprintf('Set "%s" using collector with value "%s"', $modifier['type'], $modifier['value']));
$before = new Carbon($modifier['value']);
$collector->setBefore($before);
break;
case 'date_after':
case 'after':
- Log::debug('Set "%s" using collector with value "%s"', $modifier['type'], $modifier['value']);
+ Log::debug(sprintf('Set "%s" using collector with value "%s"', $modifier['type'], $modifier['value']));
$after = new Carbon($modifier['value']);
$collector->setBefore($after);
break;