mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-18 18:44:16 +00:00
Some bug fixes and cleanup.
This commit is contained in:
@@ -4,7 +4,6 @@ namespace FireflyIII\Repositories\Shared;
|
||||
|
||||
use Carbon\Carbon;
|
||||
use Illuminate\Database\Query\JoinClause;
|
||||
use stdClass;
|
||||
|
||||
/**
|
||||
* Class ComponentRepository
|
||||
@@ -16,15 +15,15 @@ class ComponentRepository
|
||||
|
||||
|
||||
/**
|
||||
* @param stdClass $object
|
||||
* @param Carbon $start
|
||||
* @param Carbon $end
|
||||
* @param $object
|
||||
* @param Carbon $start
|
||||
* @param Carbon $end
|
||||
*
|
||||
* @param bool $shared
|
||||
* @param bool $shared
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
protected function spentInPeriod(stdClass $object, Carbon $start, Carbon $end, $shared = false)
|
||||
protected function spentInPeriod($object, Carbon $start, Carbon $end, $shared = false)
|
||||
{
|
||||
if ($shared === true) {
|
||||
// shared is true.
|
||||
|
Reference in New Issue
Block a user