fix bitbucket (#119)

Fix Bitbucket API errors
This commit is contained in:
Saeed Vaziry
2024-03-17 11:36:04 +01:00
committed by GitHub
parent f0c4fc4812
commit b07ae470f9
10 changed files with 167 additions and 45 deletions

View File

@ -8,6 +8,7 @@
/**
* @property string $provider
* @property array $provider_data
* @property ?string $profile
* @property ?string $url
* @property string $access_token
@ -18,6 +19,7 @@ class SourceControl extends AbstractModel
protected $fillable = [
'provider',
'provider_data',
'profile',
'url',
'access_token',
@ -25,6 +27,7 @@ class SourceControl extends AbstractModel
protected $casts = [
'access_token' => 'encrypted',
'provider_data' => 'encrypted:array',
];
public function provider(): SourceControlProvider