wiki.techinc.nl/includes/api/Validator
MusikAnimal 2d21ee58ec Add expiry type to ParamValidator
This commit also changes ApiWatch to make use of the new parameter type.
Other APIs will be updated to use it in a separate patch (T248196).

In doing this, we are for the first using logic within a TypeDef outside
the API. This seems acceptable given TypeDefs chiefly appear to serve as
a validation method, with otherwise no particular logic tied to the
concept of APIs.

wfIsInfinity() now uses ExpiryDef::INFINITY_VALS

Bug: T248508
Change-Id: If8f0df059eafb73ec9f39cc076b3a9ce2412d60a
2020-04-08 16:21:04 -04:00
..
ApiParamValidator.php Add expiry type to ParamValidator 2020-04-08 16:21:04 -04:00
ApiParamValidatorCallbacks.php Fix some PHPStorm inspection warnings in includes/api 2020-02-18 14:17:37 -05:00
SubmoduleDef.php Fix some PHPStorm inspection warnings in includes/api 2020-02-18 14:17:37 -05:00