Skip to content

Commit

Permalink
Issue #43: Put inline comment on separate line.
Browse files Browse the repository at this point in the history
  • Loading branch information
donquixote authored and hfiguiere committed Nov 15, 2024
1 parent b60be72 commit 38a0169
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 @@ -188,7 +188,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 38a0169

Please sign in to comment.