Differential D13646 Diff 33276 src/applications/differential/herald/HeraldDifferentialDiffAdapter.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/differential/herald/HeraldDifferentialDiffAdapter.php
Show First 20 Lines • Show All 69 Lines • ▼ Show 20 Lines | final class HeraldDifferentialDiffAdapter extends HeraldDifferentialAdapter { | ||||
} | } | ||||
public function getActions($rule_type) { | public function getActions($rule_type) { | ||||
switch ($rule_type) { | switch ($rule_type) { | ||||
case HeraldRuleTypeConfig::RULE_TYPE_GLOBAL: | case HeraldRuleTypeConfig::RULE_TYPE_GLOBAL: | ||||
return array_merge( | return array_merge( | ||||
array( | array( | ||||
self::ACTION_BLOCK, | self::ACTION_BLOCK, | ||||
self::ACTION_NOTHING, | |||||
), | ), | ||||
parent::getActions($rule_type)); | parent::getActions($rule_type)); | ||||
} | } | ||||
} | } | ||||
public function applyHeraldEffects(array $effects) { | public function applyHeraldEffects(array $effects) { | ||||
assert_instances_of($effects, 'HeraldEffect'); | assert_instances_of($effects, 'HeraldEffect'); | ||||
Show All 20 Lines |