Block: Type hint Block constructor, follow-up on I37ab858494a173c6982bb
authorDerick Alangi <alangiderick@gmail.com>
Mon, 29 Apr 2019 22:26:03 +0000 (23:26 +0100)
committerDerick Alangi <alangiderick@gmail.com>
Tue, 30 Apr 2019 16:59:36 +0000 (17:59 +0100)
commitcf5279806316a6b77ce0ed32de8bf883d5df69ca
tree4dca6a6b51f16df7865bad2080b68b0e216a886e
parent9ae951e3d593d2087abf2583d3c8ab639a1dc367
Block: Type hint Block constructor, follow-up on I37ab858494a173c6982bb

Since 1.26, both options array and individual arguments were accepted but
was later removed in I37ab858494a173c6982bb (support for multiple args was
dropped) and **only** array of options is accepted from 1.33 since the use
of individual arguments all disappeared, see usage below;

Usage
=====

https://codesearch.wmflabs.org/search/?q=new%20Block%5C(&i=nope&files=&repos=

Bug: T220656
Change-Id: Id5266400def9fafbc89d5bdcdb63aed2a63da34d
includes/Block.php