Two small code fixes.

This commit is contained in:
James Cole
2017-04-13 21:19:10 +02:00
parent 605a718418
commit 5fb6ff230b
2 changed files with 2 additions and 3 deletions

View File

@@ -16,6 +16,7 @@ namespace FireflyIII\Models;
use Carbon\Carbon;
use Crypt;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\BelongsTo;
use Illuminate\Database\Eloquent\SoftDeletes;
use Steam;
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
@@ -67,7 +68,7 @@ class PiggyBank extends Model
/**
* @return \Illuminate\Database\Eloquent\Relations\BelongsTo
*/
public function account()
public function account(): BelongsTo
{
return $this->belongsTo('FireflyIII\Models\Account');
}