mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-03 12:12:43 +01:00
Fix operator error in Pholio with PHP 7.1
Summary: Fixes T12166. We don't actually need this variable, so removing it. Test Plan: Upload a new mock, edit a mock, view list of mocks. Reviewers: epriestley, Mnkras, acs-ferreira Reviewed By: epriestley, Mnkras, acs-ferreira Subscribers: acs-ferreira, Korvin Maniphest Tasks: T12166 Differential Revision: https://secure.phabricator.com/D17260
This commit is contained in:
parent
1be3ef0227
commit
7a947947a3
1 changed files with 1 additions and 4 deletions
|
@ -180,8 +180,6 @@ final class PholioMockImagesView extends AphrontView {
|
|||
'pholio-mock-view',
|
||||
$this->getBehaviorConfig());
|
||||
|
||||
$mockview = '';
|
||||
|
||||
$mock_wrapper = javelin_tag(
|
||||
'div',
|
||||
array(
|
||||
|
@ -220,7 +218,7 @@ final class PholioMockImagesView extends AphrontView {
|
|||
),
|
||||
'');
|
||||
|
||||
$mockview[] = phutil_tag(
|
||||
return phutil_tag(
|
||||
'div',
|
||||
array(
|
||||
'class' => 'pholio-mock-image-container',
|
||||
|
@ -228,7 +226,6 @@ final class PholioMockImagesView extends AphrontView {
|
|||
),
|
||||
array($mock_wrapper, $inline_comments_holder));
|
||||
|
||||
return $mockview;
|
||||
}
|
||||
|
||||
private function getImagePageURI(PholioImage $image, PholioMock $mock) {
|
||||
|
|
Loading…
Reference in a new issue