mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Various code cleaning things.
This commit is contained in:
@@ -97,6 +97,8 @@ class AuthController extends Controller
|
||||
* @param \Illuminate\Http\Request $request
|
||||
*
|
||||
* @return \Illuminate\Http\Response
|
||||
* @throws FireflyException
|
||||
* @throws \Illuminate\Foundation\Validation\ValidationException
|
||||
*/
|
||||
public function register(Request $request)
|
||||
{
|
||||
|
@@ -27,11 +27,6 @@ class HomeController extends Controller
|
||||
parent::__construct();
|
||||
}
|
||||
|
||||
public function displayError() {
|
||||
throw new FireflyException('A very simple test error.');
|
||||
}
|
||||
|
||||
|
||||
public function dateRange()
|
||||
{
|
||||
$start = new Carbon(Input::get('start'));
|
||||
@@ -47,6 +42,11 @@ class HomeController extends Controller
|
||||
Session::put('end', $end);
|
||||
}
|
||||
|
||||
public function displayError()
|
||||
{
|
||||
throw new FireflyException('A very simple test error.');
|
||||
}
|
||||
|
||||
/**
|
||||
* @return \Illuminate\Http\RedirectResponse
|
||||
*/
|
||||
|
@@ -139,7 +139,8 @@ class RuleController extends Controller
|
||||
}
|
||||
|
||||
/**
|
||||
* @param Rule $rule
|
||||
* @param RuleRepositoryInterface $repository
|
||||
* @param Rule $rule
|
||||
*
|
||||
* @return View
|
||||
*/
|
||||
@@ -174,6 +175,8 @@ class RuleController extends Controller
|
||||
}
|
||||
|
||||
/**
|
||||
* @param RuleGroupRepositoryInterface $repository
|
||||
*
|
||||
* @return View
|
||||
*/
|
||||
public function index(RuleGroupRepositoryInterface $repository)
|
||||
@@ -263,6 +266,8 @@ class RuleController extends Controller
|
||||
}
|
||||
|
||||
/**
|
||||
* @param TestRuleFormRequest $request
|
||||
*
|
||||
* @return \Illuminate\View\View
|
||||
*/
|
||||
public function testTriggers(TestRuleFormRequest $request)
|
||||
|
Reference in New Issue
Block a user