Skip to content

Commit

Permalink
Pint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
MuchQuak committed Feb 10, 2025
1 parent be5ff50 commit 24011f1
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 16 deletions.
1 change: 1 addition & 0 deletions app/Http/Controllers/CollectionController.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ public static function collection(Request $request) {

public static function searchPage(Request $request) {
$collections = DB::table('omcollections')->select('*')->get();

return view('pages/collections', ['collections' => $collections]);
}

Expand Down
16 changes: 4 additions & 12 deletions app/Http/Controllers/MediaController.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,19 +77,11 @@ public static function searchPage(Request $request) {
return view('pages/media/search', ['media' => $media, 'creators' => $creators, 'tags' => $tag_options]);
}

public static function getMediaData() {
public static function getMediaData() {}

}

public static function add() {

}
public static function add() {}

public static function delete() {
public static function delete() {}

}

public static function edit() {

}
public static function edit() {}
}
1 change: 0 additions & 1 deletion app/Http/Controllers/OccurrenceController.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ public static function profilePage(int $occid) {
return view('pages/occurrence/profile', ['occurrence' => $occurrence]);
}


public static function editPage(Request $request) {
$occurrence = DB::table('omoccurrences as o')
->select('*')
Expand Down
3 changes: 1 addition & 2 deletions app/Http/Controllers/ProjectController.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

namespace App\Http\Controllers;

use Illuminate\Http\Request;
use Illuminate\Support\Facades\DB;

class ProjectController extends Controller {
Expand All @@ -23,6 +22,6 @@ public static function getProjectData(int $pid) {
}

public static function project(int $pid) {
view('pages/project',self::getProjectData($pid));
view('pages/project', self::getProjectData($pid));
}
}
1 change: 0 additions & 1 deletion routes/web.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
use App\Models\User;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Route;
use Laravel\Socialite\Facades\Socialite;

Expand Down

0 comments on commit 24011f1

Please sign in to comment.