mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-23 07:12:41 +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:
parent
1227c8d5da
commit
06822c89f6
1 changed files with 2 additions and 2 deletions
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue