phpcs fix AnswersController
This commit is contained in:
parent
59bf1f231a
commit
cfa87b7924
1 changed files with 5 additions and 2 deletions
|
|
@ -20,8 +20,11 @@ class AnswerController extends Controller
|
|||
* @return \Illuminate\Http\JsonResponse
|
||||
*/
|
||||
// phpcs:ignore Generic.CodeAnalysis.UnusedFunctionParameter.FoundInExtendedClassBeforeLastUsed
|
||||
public function storeCustomerAnswers(StoreCustomerAnswers $request, Service $service, Customer $customer): JsonResponse
|
||||
{
|
||||
public function storeCustomerAnswers(
|
||||
StoreCustomerAnswers $request,
|
||||
Service $service,
|
||||
Customer $customer
|
||||
): JsonResponse {
|
||||
$this->authorize('customerBelongsToService', $customer);
|
||||
$existingAnswerIds = $customer->getAnswers($service)->pluck('id');
|
||||
$answersID = Answer::whereIn('id', $request->answers)->pluck('id');
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue