Skip to content
Open
Show file tree
Hide file tree
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
1 change: 0 additions & 1 deletion app/Classes/FileReader.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ public function __construct($items)
$this->items = $items;
}


/**
* @return FileReader
*/
Expand Down
10 changes: 4 additions & 6 deletions app/Http/Controllers/ProjectController.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,16 @@

namespace App\Http\Controllers;

use App\Classes\Filters\Hidden;
use App\Classes\Project;
use Illuminate\Support\Str;
use App\Classes\ProjectReader;
use App\Classes\Filters\Hidden;
use Illuminate\Support\Facades\Storage;
use Illuminate\Support\Str;

class ProjectController extends Controller
{
/**
* @param null $slug
*
* @return \Illuminate\Contracts\Foundation\Application|\Illuminate\Contracts\View\Factory|\Illuminate\Contracts\View\View|\Illuminate\View\View
*/
public function __invoke($slug = null)
Expand All @@ -31,16 +30,15 @@ private function getProjects()
{
return ProjectReader::fromFilesystem()
->applyFilters([
new Hidden,
]
new Hidden,
]
)->desc()->get();
}

/**
* @param $year
* @param $month
* @param $slug
*
* @return \Illuminate\Contracts\Foundation\Application|\Illuminate\Contracts\View\Factory|\Illuminate\Contracts\View\View|void
*
* @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
Expand Down
1 change: 0 additions & 1 deletion app/Http/Kernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

namespace App\Http;

use Fruitcake\Cors\HandleCors;
use App\Http\Middleware\TrustProxies;
use Illuminate\Foundation\Http\Kernel as HttpKernel;
use Illuminate\Routing\Middleware\ValidateSignature;
Expand Down
3 changes: 2 additions & 1 deletion app/Providers/VaporUiServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,9 @@ protected function gate()
{
Gate::define('viewVaporUI', function ($user = null) {
return true;

return in_array(optional($user)->email, [
//
//
]);
});
}
Expand Down
12 changes: 6 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading