Skip to content

Commit 1ab951c

Browse files
committed
fixed style issues
Signed-off-by: Hendrik Leidinger <[email protected]>
1 parent 8eb2e73 commit 1ab951c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Service/ApiService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ public function create(?int $fileId = null, ?string $filePath = null, ?string $b
131131

132132
// Disable file locking for Readme.md files, because in the
133133
// current setup, this makes it almost impossible to delete these files.
134-
if (!$readOnly && strcasecmp($file->getName(), "Readme.md") !== 0) {
134+
if (!$readOnly && strcasecmp($file->getName(), 'Readme.md') !== 0) {
135135
$isLocked = $this->documentService->lock($file->getId());
136136
if (!$isLocked) {
137137
$readOnly = true;

0 commit comments

Comments
 (0)