1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-10 08:52:39 +01:00

Add $type property to PhabricatorTypeaheadCommonDatasourceController

Summary: Fix an implicit property.

Test Plan: No more `[11-Oct-2012 14:44:26] WARNING: [pool www] child 72785 said into stderr: "NOTICE: PHP message: [2012-10-11 14:44:26] PHLOG: Wrote to undeclared property PhabricatorTypeaheadCommonDatasourceController::$type. at [/INSECURE/devtools/phabricator/src/aphront/AphrontController.php:65]"`

Reviewers: vrana, btrahan

Reviewed By: vrana

CC: aran

Differential Revision: https://secure.phabricator.com/D3685
This commit is contained in:
epriestley 2012-10-11 15:00:18 -07:00
parent 29bdc3ffc5
commit 16703fbf04

View file

@ -19,6 +19,8 @@
final class PhabricatorTypeaheadCommonDatasourceController final class PhabricatorTypeaheadCommonDatasourceController
extends PhabricatorTypeaheadDatasourceController { extends PhabricatorTypeaheadDatasourceController {
private $type;
public function willProcessRequest(array $data) { public function willProcessRequest(array $data) {
$this->type = $data['type']; $this->type = $data['type'];
} }