Various code cleanup.

This commit is contained in:
James Cole
2018-07-08 12:08:53 +02:00
parent 2f2f907ffe
commit b315882f58
56 changed files with 465 additions and 396 deletions

View File

@@ -18,6 +18,7 @@
* You should have received a copy of the GNU General Public License
* along with Firefly III. If not, see <http://www.gnu.org/licenses/>.
*/
/** @noinspection MoreThanThreeArgumentsInspection */
declare(strict_types=1);
namespace FireflyIII\Http\Controllers\Report;
@@ -58,6 +59,7 @@ class ExpenseController extends Controller
);
}
/**
* Generates the overview per budget.
*
@@ -104,6 +106,7 @@ class ExpenseController extends Controller
return $result;
}
/**
* Generates the overview per category (spent and earned).
*
@@ -160,6 +163,7 @@ class ExpenseController extends Controller
return $result;
}
/**
* Overview of spending
*
@@ -206,6 +210,7 @@ class ExpenseController extends Controller
// for period, get spent and earned for each account (by name)
}
/**
* @param Collection $accounts
* @param Collection $expense