Expand tests.

This commit is contained in:
James Cole
2017-12-24 11:29:16 +01:00
parent d4aee258c4
commit 96ccce5db3
4 changed files with 124 additions and 9 deletions

View File

@@ -108,7 +108,7 @@ class Tag extends Model
*
* @throws \FireflyIII\Exceptions\FireflyException
*/
public static function tagSum(self $tag): string
public static function tagSum(Tag $tag): string
{
$sum = '0';
/** @var TransactionJournal $journal */

View File

@@ -55,7 +55,7 @@ class TransactionCurrency extends Model
*
* @return TransactionCurrency
*/
public static function routeBinder(self $currency)
public static function routeBinder(TransactionCurrency $currency)
{
if (auth()->check()) {
return $currency;