1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-27 16:00:59 +01:00

Set a property so that unit tests run on PHP7

Summary: Without this change PHP throws because idx() is passed null as the property is not intialzied

Test Plan: arc unit --everything

Reviewers: #blessed_reviewers, epriestley

Reviewed By: #blessed_reviewers, epriestley

Subscribers: epriestley

Differential Revision: https://secure.phabricator.com/D14345
This commit is contained in:
Michael Krasnow 2015-10-26 21:15:45 +00:00 committed by Mnkras
parent bbf4ce79e3
commit 6e7ceb996b

View file

@ -28,7 +28,7 @@ final class AphrontRequest extends Phobject {
private $applicationConfiguration;
private $site;
private $controller;
private $uriData;
private $uriData = array();
private $cookiePrefix;
public function __construct($host, $path) {