mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-18 23:50:09 +00:00
Reformat various code.
This commit is contained in:
@@ -416,9 +416,9 @@ class RuleRepository implements RuleRepositoryInterface
|
||||
* @param Rule $rule
|
||||
* @param array $data
|
||||
*
|
||||
* @return bool
|
||||
* @return void
|
||||
*/
|
||||
private function storeTriggers(Rule $rule, array $data): bool
|
||||
private function storeTriggers(Rule $rule, array $data): void
|
||||
{
|
||||
$order = 1;
|
||||
foreach ($data['triggers'] as $trigger) {
|
||||
@@ -437,7 +437,6 @@ class RuleRepository implements RuleRepositoryInterface
|
||||
++$order;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -464,9 +463,9 @@ class RuleRepository implements RuleRepositoryInterface
|
||||
* @param Rule $rule
|
||||
* @param array $data
|
||||
*
|
||||
* @return bool
|
||||
* @return void
|
||||
*/
|
||||
private function storeActions(Rule $rule, array $data): bool
|
||||
private function storeActions(Rule $rule, array $data): void
|
||||
{
|
||||
$order = 1;
|
||||
foreach ($data['actions'] as $action) {
|
||||
@@ -484,7 +483,6 @@ class RuleRepository implements RuleRepositoryInterface
|
||||
++$order;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user