Skip to content

Commit

Permalink
Apply php-cs-fixer changes
Browse files Browse the repository at this point in the history
  • Loading branch information
R0Wi authored and github-actions[bot] committed Dec 14, 2024
1 parent 4b1d7f8 commit dd7b358
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Service/OcrService.php
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ private function processTagsAfterSuccessfulOcr(File $file, WorkflowSettings $set
* @param int $fileId The id of the file to write. Used for locking.
* @param int $fileMtime The mtime of the new file. Can be used to restore the original modification time of the non-OCR file.
*/
private function createNewFileVersion(string $filePath, string $ocrContent, int $fileId, int $fileMtime = null) : void {
private function createNewFileVersion(string $filePath, string $ocrContent, int $fileId, ?int $fileMtime = null) : void {
$dirPath = dirname($filePath);
$filename = basename($filePath);

Expand Down

0 comments on commit dd7b358

Please sign in to comment.