Skip to content

Commit

Permalink
style: phpcsエラー対応
Browse files Browse the repository at this point in the history
  • Loading branch information
RikaFujiwara committed Oct 19, 2020
1 parent d693bdc commit 0189402
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Utility/WysiwygZip.php
Expand Up @@ -125,15 +125,17 @@ public function getFromWysiwygZip($zipFilePath, $fileName = 'document.txt') {
// ここで”/”を区切りで入れると
// Routerが返す文字列が”/”付けて返してくるので、セパレータ入が重複する
if ($type == 'image') {
$line = sprintf('<img class="img-responsive nc3-img" src="%swysiwyg/%s/download/%d/%d/%s>',
$line = sprintf(
'<img class="img-responsive nc3-img" src="%swysiwyg/%s/download/%d/%d/%s>',
//$matches[1],
Router::url('/', true),
$type,
$roomId,
$uploadedFile['UploadFile']['id'],
$matches[4]);
} else {
$line = sprintf('<a href="%swysiwyg/%s/download/%d/%d target="_blank" rel="noopener noreferrer"">',
$line = sprintf(
'<a href="%swysiwyg/%s/download/%d/%d target="_blank" rel="noopener noreferrer"">',
//$matches[1],
Router::url('/', true),
$type,
Expand Down

0 comments on commit 0189402

Please sign in to comment.