mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Various code cleanup.
This commit is contained in:
parent
573e72f7fb
commit
0812901745
@ -85,6 +85,8 @@ class Handler extends ExceptionHandler
|
|||||||
* @SuppressWarnings(PHPMD.CyclomaticComplexity) // it's five its fine.
|
* @SuppressWarnings(PHPMD.CyclomaticComplexity) // it's five its fine.
|
||||||
*
|
*
|
||||||
* @param \Exception $exception
|
* @param \Exception $exception
|
||||||
|
*
|
||||||
|
* @return mixed|void
|
||||||
*/
|
*/
|
||||||
public function report(Exception $exception)
|
public function report(Exception $exception)
|
||||||
{
|
{
|
||||||
|
@ -74,6 +74,9 @@ class LoginController extends Controller
|
|||||||
/**
|
/**
|
||||||
* Show the application's login form.
|
* Show the application's login form.
|
||||||
*
|
*
|
||||||
|
* @param Request $request
|
||||||
|
* @param CookieJar $cookieJar
|
||||||
|
*
|
||||||
* @return \Illuminate\Http\Response
|
* @return \Illuminate\Http\Response
|
||||||
*/
|
*/
|
||||||
public function showLoginForm(Request $request, CookieJar $cookieJar)
|
public function showLoginForm(Request $request, CookieJar $cookieJar)
|
||||||
|
@ -33,6 +33,8 @@ use Response;
|
|||||||
class FrontpageController extends Controller
|
class FrontpageController extends Controller
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
|
* @param PiggyBankRepositoryInterface $repository
|
||||||
|
*
|
||||||
* @return \Illuminate\Http\JsonResponse
|
* @return \Illuminate\Http\JsonResponse
|
||||||
*/
|
*/
|
||||||
public function piggyBanks(PiggyBankRepositoryInterface $repository)
|
public function piggyBanks(PiggyBankRepositoryInterface $repository)
|
||||||
|
@ -70,8 +70,10 @@ class NewUserController extends Controller
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param NewUserFormRequest $request
|
* @param NewUserFormRequest $request
|
||||||
* @param AccountRepositoryInterface $repository
|
* @param AccountRepositoryInterface $repository
|
||||||
|
*
|
||||||
|
* @param CurrencyRepositoryInterface $currencyRepository
|
||||||
*
|
*
|
||||||
* @return \Illuminate\Http\RedirectResponse|\Illuminate\Routing\Redirector
|
* @return \Illuminate\Http\RedirectResponse|\Illuminate\Routing\Redirector
|
||||||
*/
|
*/
|
||||||
|
@ -260,6 +260,7 @@ class ProfileController extends Controller
|
|||||||
* @param string $token
|
* @param string $token
|
||||||
* @param string $hash
|
* @param string $hash
|
||||||
*
|
*
|
||||||
|
* @return \Illuminate\Http\RedirectResponse|\Illuminate\Routing\Redirector
|
||||||
* @throws FireflyException
|
* @throws FireflyException
|
||||||
*/
|
*/
|
||||||
public function undoEmailChange(string $token, string $hash)
|
public function undoEmailChange(string $token, string $hash)
|
||||||
|
@ -126,7 +126,8 @@ class TransactionController extends Controller
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param Request $request
|
* @param Request $request
|
||||||
|
* @param JournalRepositoryInterface $repository
|
||||||
*/
|
*/
|
||||||
public function reconcile(Request $request, JournalRepositoryInterface $repository)
|
public function reconcile(Request $request, JournalRepositoryInterface $repository)
|
||||||
{
|
{
|
||||||
|
@ -264,6 +264,7 @@ class JournalRepository implements JournalRepositoryInterface
|
|||||||
$this->storeBudgetWithJournal($journal, $data['budget_id']);
|
$this->storeBudgetWithJournal($journal, $data['budget_id']);
|
||||||
|
|
||||||
// store two transactions:
|
// store two transactions:
|
||||||
|
|
||||||
$one = [
|
$one = [
|
||||||
'journal' => $journal,
|
'journal' => $journal,
|
||||||
'account' => $accounts['source'],
|
'account' => $accounts['source'],
|
||||||
|
Loading…
Reference in New Issue
Block a user