Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apply fixes from StyleCI #1219

Merged
merged 1 commit into from
Jan 23, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 16 additions & 16 deletions Blacklight/processing/post/ProcessAdditional.php
Original file line number Diff line number Diff line change
Expand Up @@ -548,8 +548,8 @@ public function __destruct()
}

/**
* @param string $groupID
* @param string $guidChar
* @param string $groupID
* @param string $guidChar
*
* @throws \Exception
*/
Expand Down Expand Up @@ -581,7 +581,7 @@ public function start(string $groupID = '', string $guidChar = ''): void

/**
* @param $guidChar
* @param string $groupID
* @param string $groupID
*
* @throws \RuntimeException
* @throws \Exception
Expand Down Expand Up @@ -638,8 +638,8 @@ protected function _clearMainTmpPath(): void
/**
* Get all releases that need to be processed.
*
* @param int|string $groupID
* @param string $guidChar
* @param int|string $groupID
* @param string $guidChar
*
* @void
*/
Expand Down Expand Up @@ -771,8 +771,8 @@ protected function _processReleases(): void
/**
* Deletes files and folders recursively.
*
* @param string $path Path to a folder or file.
* @param string[] $ignoredFolders array with paths to folders to ignore.
* @param string $path Path to a folder or file.
* @param string[] $ignoredFolders array with paths to folders to ignore.
*
* @void
*/
Expand Down Expand Up @@ -960,7 +960,7 @@ protected function _processNZBContents(): int
protected array $_triedCompressedMids = [];

/**
* @param bool $reverse
* @param bool $reverse
*
* @throws \Exception
*/
Expand Down Expand Up @@ -1056,7 +1056,7 @@ protected function _processNZBCompressedFiles(bool $reverse = false): void
/**
* Check if the data is a ZIP / RAR file, extract files, get file info.
*
* @param string $compressedData
* @param string $compressedData
* @return bool
*
* @throws \Exception
Expand Down Expand Up @@ -1665,8 +1665,8 @@ protected function _finalizeRelease(): void
}

/**
* @param string $pattern
* @param string $path
* @param string $pattern
* @param string $path
* @return bool|string|\Symfony\Component\Finder\SplFileInfo[]
*/
protected function _getTempDirectoryContents(string $pattern = '', string $path = '')
Expand Down Expand Up @@ -1878,7 +1878,7 @@ protected function _getAudioInfo($fileLocation, $fileExtension): bool
/**
* Try to get JPG picture, resize it and store it on disk.
*
* @param string $fileLocation
* @param string $fileLocation
*/
protected function _getJPGSample(string $fileLocation): void
{
Expand All @@ -1900,7 +1900,7 @@ protected function _getJPGSample(string $fileLocation): void
}

/**
* @param string $videoLocation
* @param string $videoLocation
* @return string
*/
private function getVideoTime(string $videoLocation): string
Expand Down Expand Up @@ -2374,8 +2374,8 @@ protected function _resetReleaseStatus(): void
/**
* Echo a string to CLI.
*
* @param string $string String to echo.
* @param string $type Method type.
* @param string $string String to echo.
* @param string $type Method type.
*
* @void
*/
Expand All @@ -2389,7 +2389,7 @@ protected function _echo(string $string, string $type): void
/**
* Echo a string to CLI. For debugging.
*
* @param string $string
* @param string $string
*
* @void
*/
Expand Down