Skip to content

Commit

Permalink
code style
Browse files Browse the repository at this point in the history
  • Loading branch information
passchn committed Apr 16, 2023
1 parent 11e54fa commit ee8031a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Model/Table/AssetsTable.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ public function initialize(array $config): void

$now = new FrozenTime();
$pathInfo = pathinfo((string)$data->getClientFilename());
$basename = preg_replace('#\p{C}+#u', '', $pathInfo['basename']);
$basename = preg_replace('#\p{C}+#u', '', $pathInfo['basename']);

return $now->format('ymd') . '-' . $now->format('His') . '_' . $basename;
return $now->format('ymd') . '-' . $now->format('His') . '_' . $basename;
},
'fields' => [
'dir' => 'directory',
Expand Down

0 comments on commit ee8031a

Please sign in to comment.