mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-04 12:42: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',
|
'pholio-mock-view',
|
||||||
$this->getBehaviorConfig());
|
$this->getBehaviorConfig());
|
||||||
|
|
||||||
$mockview = '';
|
|
||||||
|
|
||||||
$mock_wrapper = javelin_tag(
|
$mock_wrapper = javelin_tag(
|
||||||
'div',
|
'div',
|
||||||
array(
|
array(
|
||||||
|
@ -220,7 +218,7 @@ final class PholioMockImagesView extends AphrontView {
|
||||||
),
|
),
|
||||||
'');
|
'');
|
||||||
|
|
||||||
$mockview[] = phutil_tag(
|
return phutil_tag(
|
||||||
'div',
|
'div',
|
||||||
array(
|
array(
|
||||||
'class' => 'pholio-mock-image-container',
|
'class' => 'pholio-mock-image-container',
|
||||||
|
@ -228,7 +226,6 @@ final class PholioMockImagesView extends AphrontView {
|
||||||
),
|
),
|
||||||
array($mock_wrapper, $inline_comments_holder));
|
array($mock_wrapper, $inline_comments_holder));
|
||||||
|
|
||||||
return $mockview;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private function getImagePageURI(PholioImage $image, PholioMock $mock) {
|
private function getImagePageURI(PholioImage $image, PholioMock $mock) {
|
||||||
|
|
Loading…
Reference in a new issue