When viewing the history of a Mercurial diffusion repository the server return a 500. This is
because a function call to array_slice requires the offset to be set to an integer. So when it is
not specified it can be set to 0 as a default.
The error is as follows:
```
PHP message: [2024-05-30 11:37:58] ERROR 8192: array_slice(): Passing null to parameter #2 ($offset) of type int is deprecated at [/usr/local/www/phorge/src/applications/diffusion/conduit/DiffusionHistoryQueryConduitAPIMethod.php:167]; PHP message: arcanist(head=master, ref.master=3cb117684f4e), phorge(head=master, ref.master=4bf5c452eb28); PHP message: #0 array_slice(array, NULL) called at [<phorge>/src/applications/diffusion/conduit/DiffusionHistoryQueryConduitAPIMethod.php:167]; PHP message: #1 DiffusionHistoryQueryConduitAPIMethod::getMercurialResult(ConduitAPIRequest) called at [<phorge>/src/applications/diffusion/conduit/DiffusionQueryConduitAPIMethod.php:158]; PHP message: #2 DiffusionQueryConduitAPIMethod::getResult(ConduitAPIRequest) called at [<phorge>/src/applications/diffusion/conduit/DiffusionHistoryQueryConduitAPIMethod.php:35]; PHP message: #3 DiffusionHistoryQueryConduitAPIMethod::getResult(ConduitAPIRequest) called at [<phorge>/src/applications/diffusion/conduit/DiffusionQueryConduitAPIMethod.php:110]; PHP message: #4 DiffusionQueryConduitAPIMethod::execute(ConduitAPIRequest) called at [<phorge>/src/applications/conduit/method/ConduitAPIMethod.php:156]; PHP message: #5 ConduitAPIMethod::executeMethod(ConduitAPIRequest) called at [<phorge>/src/applications/conduit/call/ConduitCall.php:131]; PHP message: #6 ConduitCall::executeMethod() called at [<phorge>/src/applications/conduit/call/ConduitCall.php:81]; PHP message: #7 ConduitCall::execute() called at [<arcanist>/src/future/MethodCallFuture.php:30]; PHP message: #8 MethodCallFuture::isReady() called at [<arcanist>/src/future/Future.php:63]; PHP message: #9 Future::updateFuture() called at [<arcanist>/src/future/Future.php:159]; PHP message: #10 Future::start() called at [<arcanist>/src/future/FutureIterator.php:403]; PHP message: #11 FutureIterator::moveFutureToWork(integer) called at [<arcanist>/src/future/FutureIterator.php:374]
```