1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-27 01:02:42 +01:00

[Aphront] fix setter for AphrontCrumbsView

Summary:
The idiom is to return $this in all setters; I think this got missed in
AphrontCrumbsView by mistake.

Test Plan: Use an AphrontCrumbsView!

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, epriestley

Differential Revision: https://secure.phabricator.com/D1966
This commit is contained in:
Edward Speyer 2012-03-20 11:27:19 -07:00
parent 1227c8d5da
commit 06822c89f6

View file

@ -1,7 +1,7 @@
<?php
/*
* Copyright 2011 Facebook, Inc.
* Copyright 2012 Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@ -22,7 +22,7 @@ final class AphrontCrumbsView extends AphrontView {
public function setCrumbs(array $crumbs) {
$this->crumbs = $crumbs;
return;
return $this;
}
public function render() {