mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
The net worth chart will respect net worth preferences.
This commit is contained in:
@@ -43,6 +43,8 @@ class Help implements HelpInterface
|
||||
/**
|
||||
* Get from cache.
|
||||
*
|
||||
* @codeCoverageIgnore
|
||||
*
|
||||
* @param string $route
|
||||
* @param string $language
|
||||
*
|
||||
@@ -70,7 +72,7 @@ class Help implements HelpInterface
|
||||
$opt = ['headers' => ['User-Agent' => $this->userAgent]];
|
||||
$content = '';
|
||||
$statusCode = 500;
|
||||
$client = new Client;
|
||||
$client = app(Client::class);
|
||||
try {
|
||||
$res = $client->request('GET', $uri, $opt);
|
||||
$statusCode = $res->getStatusCode();
|
||||
@@ -94,6 +96,8 @@ class Help implements HelpInterface
|
||||
/**
|
||||
* Do we have the route?
|
||||
*
|
||||
* @codeCoverageIgnore
|
||||
*
|
||||
* @param string $route
|
||||
*
|
||||
* @return bool
|
||||
@@ -106,6 +110,8 @@ class Help implements HelpInterface
|
||||
/**
|
||||
* Is in cache?
|
||||
*
|
||||
* @codeCoverageIgnore
|
||||
*
|
||||
* @param string $route
|
||||
* @param string $language
|
||||
*
|
||||
@@ -128,6 +134,8 @@ class Help implements HelpInterface
|
||||
/**
|
||||
* Put help text in cache.
|
||||
*
|
||||
* @codeCoverageIgnore
|
||||
*
|
||||
* @param string $route
|
||||
* @param string $language
|
||||
* @param string $content
|
||||
|
Reference in New Issue
Block a user