Lint PHP code psr-12, add GH action
This commit is contained in:
@@ -7,11 +7,11 @@ use App\Service\Forms\Webhooks\WebhookHandlerProvider;
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Database\Eloquent\SoftDeletes;
|
||||
use Spatie\WebhookServer\WebhookCall;
|
||||
|
||||
class FormZapierWebhook extends Model
|
||||
{
|
||||
use HasFactory, SoftDeletes;
|
||||
use HasFactory;
|
||||
use SoftDeletes;
|
||||
|
||||
protected $table = 'form_zapier_webhooks';
|
||||
|
||||
@@ -28,7 +28,7 @@ class FormZapierWebhook extends Model
|
||||
return $this->belongsTo(Form::class);
|
||||
}
|
||||
|
||||
public function triggerHook(array $data)
|
||||
public function triggerHook(array $data)
|
||||
{
|
||||
WebhookHandlerProvider::getProvider(
|
||||
$this->form,
|
||||
|
||||
Reference in New Issue
Block a user