Http/Controllers/Api/MediaController.php
Method linkMedia
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function linkMedia(Request $request)
{
$mediaId = $request->get('mediaId');
$entityClass = $request->get('entityClass');
$entityId = $request->get('entityId');