Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
[ci skip] [skip ci]
  • Loading branch information
HDVinnie authored and StyleCIBot committed Jul 23, 2020
1 parent 2962833 commit 10befaa
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 9 deletions.
3 changes: 2 additions & 1 deletion app/Bots/CasinoBot.php
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,9 @@ public function getHelp()
* @param string $message
* @param int $targeted
*
* @return bool
* @throws \Exception
*
* @return bool
*/
public function process($type, User $user, $message = '', $targeted = 0)
{
Expand Down
3 changes: 2 additions & 1 deletion app/Bots/NerdBot.php
Original file line number Diff line number Diff line change
Expand Up @@ -419,8 +419,9 @@ public function putDonate($amount = 0, $note = '')
* @param string $message
* @param int $targeted
*
* @return bool
* @throws \Exception
*
* @return bool
*/
public function process($type, User $user, $message = '', $targeted = 0)
{
Expand Down
8 changes: 5 additions & 3 deletions app/Helpers/BackupPassword.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class BackupPassword
* Read the .zip, apply password and encryption, then rewrite the file.
*
* @param \App\Helpers\BackupEncryption $backupEncryption
* @param string $path the path to the .zip-file
* @param string $path the path to the .zip-file
*
* @throws \PhpZip\Exception\ZipException
*/
Expand Down Expand Up @@ -70,8 +70,9 @@ public function __construct(BackupEncryption $backupEncryption, string $path)
* @param \App\Helpers\BackupEncryption $backupEncryption
* @param string $path
*
* @return void
* @throws \Exception
*
* @return void
*/
protected function makeZipArchive(BackupEncryption $backupEncryption, string $path): void
{
Expand Down Expand Up @@ -99,8 +100,9 @@ protected function makeZipArchive(BackupEncryption $backupEncryption, string $pa
* @param \App\Helpers\BackupEncryption $backupEncryption
* @param string $path
*
* @return void
* @throws \PhpZip\Exception\ZipException
*
* @return void
*/
protected function makeZipFile(BackupEncryption $backupEncryption, string $path): void
{
Expand Down
3 changes: 2 additions & 1 deletion app/Http/Controllers/Staff/MediaLanguageController.php
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,9 @@ public function update(Request $request, $id)
*
* @param \App\Models\MediaLanguage $id
*
* @return \Illuminate\Http\RedirectResponse
* @throws \Exception
*
* @return \Illuminate\Http\RedirectResponse
*/
public function destroy($id)
{
Expand Down
3 changes: 2 additions & 1 deletion app/Http/Controllers/SubtitleController.php
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,9 @@ public function update(Request $request, $id)
* @param \Illuminate\Http\Request $request
* @param \App\Models\Subtitle $id
*
* @return \Illuminate\Http\RedirectResponse
* @throws \Exception
*
* @return \Illuminate\Http\RedirectResponse
*/
public function destroy(Request $request, $id)
{
Expand Down
3 changes: 2 additions & 1 deletion app/Listeners/PasswordProtectBackup.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,9 @@ public function __construct()
*
* @param \Spatie\Backup\Events\BackupZipWasCreated $backupZipWasCreated
*
* @return string
* @throws \PhpZip\Exception\ZipException
*
* @return string
*/
public function handle(BackupZipWasCreated $backupZipWasCreated): string
{
Expand Down
3 changes: 2 additions & 1 deletion app/Services/MovieScrapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,9 @@ public function __construct($tmdb_key = null, $tvdb_key = null, $omdb_key = null
* @param null $tmdb
* @param null $tvdb
*
* @return Movie|Tv
* @throws \ErrorException
*
* @return Movie|Tv
*/
public function scrape($type, $imdb = null, $tmdb = null, $tvdb = null)
{
Expand Down

0 comments on commit 10befaa

Please sign in to comment.