Skip to content

Commit

Permalink
Typos in comments
Browse files Browse the repository at this point in the history
  • Loading branch information
phil-davis committed Jan 18, 2023
1 parent 35097d2 commit d97598b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/DAV/CorePlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ public function httpGet(RequestInterface $request, ResponseInterface $response)

$response->addHeaders($httpHeaders);

// this function now only checks, if the range string correctly formatted
// this function now only checks, if the range string is correctly formatted
// and returns it (or null if it isn't or it doesn't exist)
// processing of the ranges will then be done further below
$rangeString = $this->server->getHTTPRange();
Expand Down Expand Up @@ -199,7 +199,7 @@ public function httpGet(RequestInterface $request, ResponseInterface $response)
}
}

// if there is only one range, write it into the reponse body
// if there is only one range, write it into the response body
// otherwise, write multipart header info first before writing the data
if (1 === count($ranges)) {
$rangeLength = $end - $start + 1;
Expand Down
2 changes: 1 addition & 1 deletion tests/phpunit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@
<env name="BASEURL" value="http://localhost:8000"/>
<env name="SABRE_HTTP_TEST_GET_LARGE_CONTENT_MAX_PEAK_MEMORY_USAGE" value="80000000"/>
</php>
</phpunit>
</phpunit>

0 comments on commit d97598b

Please sign in to comment.