Skip to content
Snippets Groups Projects
Commit 7132dc12 authored by Tibo's avatar Tibo
Browse files

fix style and phpdoc

parent 32a345bc
No related branches found
No related tags found
No related merge requests found
Pipeline #12766 passed
......@@ -119,11 +119,7 @@ class OrganizationController extends Controller
return redirect(action('OrganizationController@index'));
}
/**
* Remove the specified resource from storage.
*
* @param int $id
*/
public function destroy(Organization $organization)
{
$this->authorize("destroy", $organization);
......
......@@ -8,7 +8,6 @@ use App\Mail\OrganizationUserInvitation;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Mail;
use Illuminate\Support\Facades\Validator;
use Illuminate\Support\Facades\Auth;
class OrganizationUserController extends Controller
{
......
......@@ -90,11 +90,6 @@ class ServerController extends Controller
return redirect(action("ServerController@show", ["server" => $server]));
}
/**
* Remove the specified resource from storage.
*
* @param int $id
*/
public function destroy(Server $server)
{
$this->authorize("destroy", $server);
......
......@@ -35,6 +35,4 @@ class OrganizationPolicy
{
return $user->ownsOrganization($organization);
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment