Skip to content

Commit

Permalink
[TASK] Apply CS and fix some spelling mistakes
Browse files Browse the repository at this point in the history
  • Loading branch information
Florian Wessels committed Dec 3, 2019
1 parent bbf9d53 commit 2b8dea1
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Classes/EventListener/SecureDownloadsEventListener.php
Expand Up @@ -74,7 +74,7 @@ public function onResourceStorageEmitPreGeneratePublicUrlSignal(GeneratePublicUr
}

/**
* Will ad an overlay icon to secured directories and files when browsing the file list module.
* Will add an overlay icon to secured directories and files when browsing the file list module.
*
* @param ModifyIconForResourcePropertiesEvent $event The event.
*/
Expand Down
2 changes: 1 addition & 1 deletion Classes/Parser/HtmlParser.php
Expand Up @@ -150,7 +150,7 @@ public function parse(string $html): string

protected function microtime_float(): float
{
list($usec, $sec) = explode(' ', microtime());
[$usec, $sec] = explode(' ', microtime());

return $usec + $sec;
}
Expand Down
4 changes: 2 additions & 2 deletions Classes/Resource/FileDelivery.php
Expand Up @@ -31,7 +31,7 @@
use TYPO3\CMS\Core\Utility\HttpUtility;

/**
* ToDo: Consider to use PSR-7 HTTP message instead.
* ToDo: Use PSR-7 HTTP message instead.
*/
class FileDelivery
{
Expand Down Expand Up @@ -390,7 +390,7 @@ protected function outputFile(string $outputFunction, string $file): void
// no break as web server is not a nginx

case ExtensionConfiguration::OUTPUT_READ_FILE:
//fallthrough, this is the default case
// fallthrough, this is the default case
default:
readfile($file);
break;
Expand Down
2 changes: 1 addition & 1 deletion Documentation/Index.rst
Expand Up @@ -42,7 +42,7 @@ Secure Downloads
It is maintained as part of a third party extension.

If you find an error or something is missing, please:
`Report a Problem <https://github.com/bitmotion/typo3-secure-downloads/issues/new>`__
`Report a problem <https://github.com/bitmotion/typo3-secure-downloads/issues/new>`__

**Extension Manual**

Expand Down

0 comments on commit 2b8dea1

Please sign in to comment.