userrights: Add array typehints to SpecialUserrights methods
authorTimo Tijhof <krinklemail@gmail.com>
Thu, 19 Apr 2018 17:57:18 +0000 (18:57 +0100)
committerKrinkle <krinklemail@gmail.com>
Fri, 20 Apr 2018 17:52:19 +0000 (17:52 +0000)
commitc7c76124fa9160adf7b34654c010ec3ece622af9
tree8ddd076bc478f7ac654ecf52d589e17044ab5cb5
parent614b793bcdd6794871372a1e72a63ad2eaae2218
userrights: Add array typehints to SpecialUserrights methods

Follows-up e3ce482e1b4da37.

* Add them to parameters of doSaveUserGroups(), which were the
  entrypoint to the error fixed by e3ce482e1b4da37.

* Add them to parameters of addLogEntry(), which is where the
  actual count() error happened.

Bug: T182377
Change-Id: I647a1ebf6dc0e80952efe2a3c1192fd8ac5dc1b7
includes/specials/SpecialUserrights.php