Changeset View
Changeset View
Standalone View
Standalone View
src/infrastructure/export/PhabricatorIDExportField.php
| <?php | <?php | ||||
| final class PhabricatorIDExportField | final class PhabricatorIDExportField | ||||
| extends PhabricatorExportField { | extends PhabricatorExportField { | ||||
| public function getNaturalValue($value) { | public function getNaturalValue($value) { | ||||
| return (int)$value; | return (int)$value; | ||||
| } | } | ||||
| public function getCharacterWidth() { | |||||
| return 12; | |||||
amckinley: More magic? | |||||
Not Done Inline ActionsThis is just "a reasonable size that the maximum ID number any install is likely to have will fit into". epriestley: This is just "a reasonable size that the maximum ID number any install is likely to have will… | |||||
| } | |||||
| } | } | ||||
More magic?