Skip to content

Commit

Permalink
Merge pull request #38 from alfatechz/dev
Browse files Browse the repository at this point in the history
Bump Laravel 8.x to 9.x with code-cleanup
  • Loading branch information
albinvar authored Apr 8, 2022
2 parents 3dcea51 + ea689f5 commit 4929cf4
Show file tree
Hide file tree
Showing 32 changed files with 3,484 additions and 3,875 deletions.
2 changes: 1 addition & 1 deletion app/Actions/Fortify/CreateNewUser.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class CreateNewUser implements CreatesNewUsers
*
* @param array $input
*
* @return \App\Models\User
* @return User
*/
public function create(array $input)
{
Expand Down
3 changes: 2 additions & 1 deletion app/Console/Commands/CleanTemporaryUploads.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

namespace App\Console\Commands;

use Exception;
use Illuminate\Console\Command;
use Illuminate\Filesystem\Filesystem;

Expand Down Expand Up @@ -42,7 +43,7 @@ public function handle()
$file = new Filesystem();
$file->cleanDirectory(storage_path('app/livewire-tmp'));
$this->comment('Temporary uploads cleared successfully');
} catch (\Exception $e) {
} catch (Exception $e) {
$this->error('Error encountered -> ' . $e->getMessage());
return 0;
}
Expand Down
3 changes: 2 additions & 1 deletion app/Console/Commands/SetupCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

namespace App\Console\Commands;

use Exception;
use Illuminate\Console\Command;

class SetupCommand extends Command
Expand Down Expand Up @@ -44,7 +45,7 @@ public function handle()
$this->comment('Setting Up Storage');
try {
$this->callSilently('storage:link');
} catch (\Exception $e) {
} catch (Exception $e) {
$this->newline();
$this->error('Error encountered');
}
Expand Down
2 changes: 1 addition & 1 deletion app/Console/Kernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class Kernel extends ConsoleKernel
/**
* Define the application's command schedule.
*
* @param \Illuminate\Console\Scheduling\Schedule $schedule
* @param Schedule $schedule
*
* @return void
*/
Expand Down
83 changes: 0 additions & 83 deletions app/Http/Controllers/CommentController.php

This file was deleted.

83 changes: 0 additions & 83 deletions app/Http/Controllers/FollowerController.php

This file was deleted.

83 changes: 0 additions & 83 deletions app/Http/Controllers/LikeController.php

This file was deleted.

83 changes: 0 additions & 83 deletions app/Http/Controllers/MediaController.php

This file was deleted.

Loading

0 comments on commit 4929cf4

Please sign in to comment.