Various code cleanup.

This commit is contained in:
James Cole
2017-12-22 18:32:43 +01:00
parent f13a93348f
commit 8bd76d1ff0
188 changed files with 383 additions and 396 deletions

View File

@@ -72,6 +72,7 @@ class RuleController extends Controller
* @param RuleGroup $ruleGroup
*
* @return View
*
* @throws \Throwable
* @throws \Throwable
*/
@@ -166,6 +167,7 @@ class RuleController extends Controller
* @param Rule $rule
*
* @return View
*
* @throws \Throwable
* @throws \Throwable
* @throws \Throwable
@@ -362,6 +364,7 @@ class RuleController extends Controller
* @param TestRuleFormRequest $request
*
* @return \Illuminate\Http\JsonResponse
*
* @throws \Throwable
*/
public function testTriggers(TestRuleFormRequest $request)
@@ -410,6 +413,7 @@ class RuleController extends Controller
* @param Rule $rule
*
* @return \Illuminate\Http\JsonResponse
*
* @throws \Throwable
*/
public function testTriggersByRule(Rule $rule)
@@ -535,6 +539,7 @@ class RuleController extends Controller
* @param Rule $rule
*
* @return array
*
* @throws \Throwable
*/
private function getCurrentActions(Rule $rule)
@@ -564,6 +569,7 @@ class RuleController extends Controller
* @param Rule $rule
*
* @return array
*
* @throws \Throwable
*/
private function getCurrentTriggers(Rule $rule)
@@ -595,6 +601,7 @@ class RuleController extends Controller
* @param Request $request
*
* @return array
*
* @throws \Throwable
*/
private function getPreviousActions(Request $request)
@@ -625,6 +632,7 @@ class RuleController extends Controller
* @param Request $request
*
* @return array
*
* @throws \Throwable
*/
private function getPreviousTriggers(Request $request)