Changeset View
Changeset View
Standalone View
Standalone View
src/applications/files/favicon/PhabricatorFaviconRef.php
Show First 20 Lines • Show All 437 Lines • ▼ Show 20 Lines | private function newTemplateFile($emblem, $width, $height) { | ||||
return array( | return array( | ||||
'width' => $resource['width'], | 'width' => $resource['width'], | ||||
'height' => $resource['height'], | 'height' => $resource['height'], | ||||
'file' => $file, | 'file' => $file, | ||||
); | ); | ||||
} | } | ||||
private function newFaviconFile($data) { | private function newFaviconFile($data) { | ||||
// TODO | |||||
Lint: TODO Comment: This comment has a TODO. | |||||
return PhabricatorFile::newFromFileData( | return PhabricatorFile::newFromFileData( | ||||
$data, | $data, | ||||
array( | array( | ||||
'name' => 'favicon', | 'name' => 'favicon', | ||||
'canCDN' => true, | 'canCDN' => true, | ||||
)); | )); | ||||
} | } | ||||
} | } |
This comment has a TODO.