jobqueue: Document Title as valid param type for compat
authorTimo Tijhof <krinklemail@gmail.com>
Fri, 5 Apr 2019 00:09:30 +0000 (01:09 +0100)
committerTimo Tijhof <krinklemail@gmail.com>
Fri, 5 Apr 2019 00:11:10 +0000 (01:11 +0100)
commit4bff6f1558ce72cdd3299f8b5dbfc893b80cb217
treeb63f9bcfb7ecf1bd06259e607fbf6d324a8f2291
parent3222ddcea8eb4364efb358eddb94657cc86989de
jobqueue: Document Title as valid param type for compat

Follows-up 9b4938c40d02c.

This should fix build failures that are preventing merges
in repos where Phan is finding Job::__construct(string, Title)
where it currently fails as follows:

 CompileArticleMetadataJob.php:11
 PhanTypeMismatchArgument Argument 2 (params) is …\Title|string but
 \Job::__construct() takes array

As Phan is reading the php doc I guess.

Change-Id: I94b442f06b6858d136546bf22f2465cf8f071ab0
includes/jobqueue/Job.php