Page MenuHomePhabricator

D15881.id38248.diff
No OneTemporary

D15881.id38248.diff

diff --git a/src/__phutil_library_map__.php b/src/__phutil_library_map__.php
--- a/src/__phutil_library_map__.php
+++ b/src/__phutil_library_map__.php
@@ -4436,7 +4436,7 @@
'ConduitCallTestCase' => 'PhabricatorTestCase',
'ConduitColumnsParameterType' => 'ConduitParameterType',
'ConduitConnectConduitAPIMethod' => 'ConduitAPIMethod',
- 'ConduitEpochParameterType' => 'ConduitListParameterType',
+ 'ConduitEpochParameterType' => 'ConduitParameterType',
'ConduitException' => 'Exception',
'ConduitGetCapabilitiesConduitAPIMethod' => 'ConduitAPIMethod',
'ConduitGetCertificateConduitAPIMethod' => 'ConduitAPIMethod',
@@ -4460,7 +4460,7 @@
'ConduitTokenGarbageCollector' => 'PhabricatorGarbageCollector',
'ConduitUserListParameterType' => 'ConduitListParameterType',
'ConduitUserParameterType' => 'ConduitParameterType',
- 'ConduitWildParameterType' => 'ConduitListParameterType',
+ 'ConduitWildParameterType' => 'ConduitParameterType',
'ConpherenceColumnViewController' => 'ConpherenceController',
'ConpherenceConduitAPIMethod' => 'ConduitAPIMethod',
'ConpherenceConfigOptions' => 'PhabricatorApplicationConfigOptions',
diff --git a/src/applications/conduit/parametertype/ConduitEpochParameterType.php b/src/applications/conduit/parametertype/ConduitEpochParameterType.php
--- a/src/applications/conduit/parametertype/ConduitEpochParameterType.php
+++ b/src/applications/conduit/parametertype/ConduitEpochParameterType.php
@@ -1,7 +1,7 @@
<?php
final class ConduitEpochParameterType
- extends ConduitListParameterType {
+ extends ConduitParameterType {
protected function getParameterValue(array $request, $key) {
$value = parent::getParameterValue($request, $key);
@@ -39,4 +39,8 @@
);
}
+ protected function getParameterDefault() {
+ return 0;
+ }
+
}
diff --git a/src/applications/conduit/parametertype/ConduitWildParameterType.php b/src/applications/conduit/parametertype/ConduitWildParameterType.php
--- a/src/applications/conduit/parametertype/ConduitWildParameterType.php
+++ b/src/applications/conduit/parametertype/ConduitWildParameterType.php
@@ -1,7 +1,7 @@
<?php
final class ConduitWildParameterType
- extends ConduitListParameterType {
+ extends ConduitParameterType {
protected function getParameterTypeName() {
return 'wild';

File Metadata

Mime Type
text/plain
Expires
Thu, Dec 25, 4:47 PM (2 w, 6 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
8813796
Default Alt Text
D15881.id38248.diff (2 KB)

Event Timeline