commit | 1097ee7200e56ccd57d2af813da8c49779e8d0fd | [log] [tgz] |
---|---|---|
author | Brad Jorsch <bjorsch@wikimedia.org> | Tue Jan 31 22:54:07 2017 -0500 |
committer | Legoktm <legoktm@member.fsf.org> | Wed Feb 01 04:38:22 2017 +0000 |
tree | 20d1519de6f991f1a7891001a4d6e9c41329ec01 | |
parent | 9b5eda37d1d4e1caff32fbd06e70d3106785c695 [diff] |
Replace use of &$this Use of &$this doesn't work in PHP 7.1. For callbacks to methods like array_map() it's completely unnecessary, while for hooks we still need to pass a reference and so we need to copy $this into a local variable. Bug: T153505 Change-Id: Ib31f3bbffdd6b25ad9a21498294644e4dde33bd1 (cherry picked from commit 1c3dd4fb0dc982de7c6cdbd56f24905c8fa82af5)