Skip to content

Commit

Permalink
Merge pull request #21 from forkgroup/typo
Browse files Browse the repository at this point in the history
Fix typo
  • Loading branch information
overtrue authored Nov 10, 2021
2 parents ed50c13 + f4953df commit d86e1d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CosAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ public function getMetadata($path): ?FileAttributes

return new FileAttributes(
$path,
isset($meta['Content-Length'][0]) ? \strtotime($meta['Content-Length'][0]) : null,
isset($meta['Content-Length'][0]) ? \intval($meta['Content-Length'][0]) : null,
null,
isset($meta['Last-Modified'][0]) ? \strtotime($meta['Last-Modified'][0]) : null,
$meta['Content-Type'][0] ?? null,
Expand Down

0 comments on commit d86e1d5

Please sign in to comment.