Reformat various code.

This commit is contained in:
James Cole
2022-03-29 15:10:05 +02:00
parent 60786461a9
commit 123693096c
134 changed files with 336 additions and 141 deletions

View File

@@ -100,6 +100,9 @@ class CreateController extends Controller
*
* @return Factory|View
* @throws FireflyException
* @throws \JsonException
* @throws \Psr\Container\ContainerExceptionInterface
* @throws \Psr\Container\NotFoundExceptionInterface
*/
public function create(?string $objectType)
{

View File

@@ -73,7 +73,9 @@ class IndexController extends Controller
* @param Carbon|null $end
*
* @return Factory|View
* @throws Exception
* @throws \FireflyIII\Exceptions\FireflyException
* @throws \Psr\Container\ContainerExceptionInterface
* @throws \Psr\Container\NotFoundExceptionInterface
*/
public function index(Request $request, string $objectType, Carbon $start = null, Carbon $end = null)
{
@@ -130,7 +132,9 @@ class IndexController extends Controller
* @param string $objectType
*
* @return Factory|View
* @throws Exception
* @throws \FireflyIII\Exceptions\FireflyException
* @throws \Psr\Container\ContainerExceptionInterface
* @throws \Psr\Container\NotFoundExceptionInterface
*/
public function indexAll(Request $request, string $objectType)
{

View File

@@ -153,8 +153,7 @@ class LinkController extends Controller
/**
* Switch link from A <> B to B <> A.
*
* @param TransactionJournalLink $link
*
* @param Request $request
* @return RedirectResponse|Redirector
*/
public function switchLink(Request $request)