Fixed various bugs.

This commit is contained in:
James Cole
2016-01-15 09:25:32 +01:00
parent f80bc214f9
commit 209258b507
8 changed files with 160 additions and 49 deletions

View File

@@ -60,14 +60,14 @@ interface RuleRepositoryInterface
public function destroyRule(Rule $rule);
/**
* @param Rule $rule
* @param Rule $rule
* @param array $ids
* @return bool
*/
public function reorderRuleTriggers(Rule $rule, array $ids);
/**
* @param Rule $rule
* @param Rule $rule
* @param array $ids
* @return bool
*/
@@ -89,6 +89,13 @@ interface RuleRepositoryInterface
*/
public function moveRuleUp(Rule $rule);
/**
* @param Rule $rule
* @param array $data
* @return Rule
*/
public function updateRule(Rule $rule, array $data);
/**
* @param Rule $rule
* @return bool
@@ -128,22 +135,22 @@ interface RuleRepositoryInterface
/**
* @param Rule $rule
* @param Rule $rule
* @param string $action
* @param string $value
* @param bool $stopProcessing
* @param int $order
* @param bool $stopProcessing
* @param int $order
*
* @return RuleTrigger
*/
public function storeTrigger(Rule $rule, $action, $value, $stopProcessing, $order);
/**
* @param Rule $rule
* @param Rule $rule
* @param string $action
* @param string $value
* @param bool $stopProcessing
* @param int $order
* @param bool $stopProcessing
* @param int $order
*
* @return RuleAction
*/