Skip to content

Commit

Permalink
Issue CollaboraOnline#43: Put inline comment on separate line.
Browse files Browse the repository at this point in the history
  • Loading branch information
donquixote committed Nov 8, 2024
1 parent 5363014 commit c92cda7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Cool/CoolUtils.php
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,8 @@ public static function getViewerRender(Media $media, bool $can_write, $options =
'#wopiClient' => $wopi_client,
'#wopiSrc' => urlencode($wopi_base . '/cool/wopi/files/' . $id),
'#accessToken' => $access_token,
'#accessTokenTtl' => $ttl * 1000, // It's in usec. The JWT is in sec.
// It's in usec. The JWT is in sec.
'#accessTokenTtl' => $ttl * 1000,
'#allowfullscreen' => $allowfullscreen ? 'allowfullscreen' : '',
];
if ($options) {
Expand Down

0 comments on commit c92cda7

Please sign in to comment.