Skip to content

Commit c96054b

Browse files
committed
Fix typos in apps/dav subdirectory
Found via `codespell -q 3 -S l10n -L jus ./apps/dav`
1 parent 072a0c6 commit c96054b

File tree

18 files changed

+21
-21
lines changed

18 files changed

+21
-21
lines changed

apps/dav/appinfo/v1/publicwebdav.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@
9898
$fileInfo = $ownerView->getFileInfo($path);
9999
$linkCheckPlugin->setFileInfo($fileInfo);
100100

101-
// If not readble (files_drop) enable the filesdrop plugin
101+
// If not readable (files_drop) enable the filesdrop plugin
102102
if (!$isReadable) {
103103
$filesDropPlugin->enable();
104104
}

apps/dav/lib/CalDAV/CalDavBackend.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1584,7 +1584,7 @@ public function restoreCalendarObject(array $objectData): void {
15841584
* Note that especially time-range-filters may be difficult to parse. A
15851585
* time-range filter specified on a VEVENT must for instance also handle
15861586
* recurrence rules correctly.
1587-
* A good example of how to interprete all these filters can also simply
1587+
* A good example of how to interpret all these filters can also simply
15881588
* be found in Sabre\CalDAV\CalendarQueryFilter. This class is as correct
15891589
* as possible, so it gives you a good idea on what type of stuff you need
15901590
* to think of.

apps/dav/lib/CalDAV/CalendarImpl.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ public function getPermissions() {
138138
* Create a new calendar event for this calendar
139139
* by way of an ICS string
140140
*
141-
* @param string $name the file name - needs to contan the .ics ending
141+
* @param string $name the file name - needs to contain the .ics ending
142142
* @param string $calendarData a string containing a valid VEVENT ics
143143
*
144144
* @throws CalendarException

apps/dav/lib/CalDAV/Publishing/Xml/Publisher.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public function getValue() {
5555
}
5656

5757
/**
58-
* The xmlSerialize metod is called during xml writing.
58+
* The xmlSerialize method is called during xml writing.
5959
*
6060
* Use the $writer argument to write its own xml serialization.
6161
*

apps/dav/lib/CalDAV/Schedule/Plugin.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ public function scheduleLocalDelivery(ITip\Message $iTipMessage):void {
179179

180180
// If parent::scheduleLocalDelivery set scheduleStatus to 1.2,
181181
// it means that it was successfully delivered locally.
182-
// Meaning that the ACL plugin is loaded and that a principial
182+
// Meaning that the ACL plugin is loaded and that a principal
183183
// exists for the given recipient id, no need to double check
184184
/** @var \Sabre\DAVACL\Plugin $aclPlugin */
185185
$aclPlugin = $this->server->getPlugin('acl');
@@ -567,7 +567,7 @@ private function isAvailableAtTime(string $email, \DateTimeInterface $start, \Da
567567
}
568568

569569
// If more than one Free-Busy property was returned, it means that an event
570-
// starts or ends inside this time-range, so it's not availabe and we return false
570+
// starts or ends inside this time-range, so it's not available and we return false
571571
if (count($freeBusyProperties) > 1) {
572572
return false;
573573
}

apps/dav/lib/CardDAV/CardDavBackend.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -486,7 +486,7 @@ public function deleteAddressBook($addressBookId) {
486486
* * size - The size of the card in bytes.
487487
*
488488
* If these last two properties are provided, less time will be spent
489-
* calculating them. If they are specified, you can also ommit carddata.
489+
* calculating them. If they are specified, you can also omit carddata.
490490
* This may speed up certain requests, especially with large cards.
491491
*
492492
* @param mixed $addressbookId

apps/dav/lib/Connector/Sabre/ChecksumList.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public function __construct(string $checksum) {
4242
}
4343

4444
/**
45-
* The xmlSerialize metod is called during xml writing.
45+
* The xmlSerialize method is called during xml writing.
4646
*
4747
* Use the $writer argument to write its own xml serialization.
4848
*

apps/dav/lib/Connector/Sabre/ShareTypeList.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ public static function xmlDeserialize(Reader $reader) {
7979
}
8080

8181
/**
82-
* The xmlSerialize metod is called during xml writing.
82+
* The xmlSerialize method is called during xml writing.
8383
*
8484
* @param Writer $writer
8585
* @return void

apps/dav/lib/Connector/Sabre/ShareeList.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public function __construct(array $shares) {
4545
}
4646

4747
/**
48-
* The xmlSerialize metod is called during xml writing.
48+
* The xmlSerialize method is called during xml writing.
4949
*
5050
* @param Writer $writer
5151
* @return void

apps/dav/lib/Connector/Sabre/TagList.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ public static function xmlDeserialize(Reader $reader) {
9595
}
9696

9797
/**
98-
* The xmlSerialize metod is called during xml writing.
98+
* The xmlSerialize method is called during xml writing.
9999
*
100100
* Use the $writer argument to write its own xml serialization.
101101
*

0 commit comments

Comments
 (0)