Differential D19982 Diff 47828 src/infrastructure/cluster/config/PhabricatorClusterMailersConfigType.php
Changeset View
Changeset View
Standalone View
Standalone View
src/infrastructure/cluster/config/PhabricatorClusterMailersConfigType.php
Show All 39 Lines | foreach ($value as $index => $spec) { | ||||
$spec, | $spec, | ||||
array( | array( | ||||
'key' => 'string', | 'key' => 'string', | ||||
'type' => 'string', | 'type' => 'string', | ||||
'priority' => 'optional int', | 'priority' => 'optional int', | ||||
'options' => 'optional wild', | 'options' => 'optional wild', | ||||
'inbound' => 'optional bool', | 'inbound' => 'optional bool', | ||||
'outbound' => 'optional bool', | 'outbound' => 'optional bool', | ||||
'media' => 'optional list<string>', | |||||
epriestley: Ah, thanks. | |||||
)); | )); | ||||
} catch (Exception $ex) { | } catch (Exception $ex) { | ||||
throw $this->newException( | throw $this->newException( | ||||
pht( | pht( | ||||
'Mailer configuration has an invalid mailer specification '. | 'Mailer configuration has an invalid mailer specification '. | ||||
'(at index "%s"): %s.', | '(at index "%s"): %s.', | ||||
$index, | $index, | ||||
$ex->getMessage())); | $ex->getMessage())); | ||||
▲ Show 20 Lines • Show All 49 Lines • Show Last 20 Lines |
Ah, thanks.