packages/sync/src/Jobs/PrepareSyncJob.php
Method invokeWebhooks
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
protected function invokeWebhooks(array $data)
{
$webhookPath = config('sync.sync_webhook_url', '/sync-webhook');
foreach ($this->syncConfigurations as $syncConfig) {
Method __construct
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public function __construct($identifierField, $identifierValue, $modelClass, $eventType, $platformId, $syncConfigurations)