Refactor CurrencyRateResource and VisaMasterSettings: remove unnecessary whitespace, add property annotations, and define possible setting types. Update Turkish translations for warning text and content.
This commit is contained in:
@@ -4,7 +4,25 @@ namespace App\Modules\VisaMasterPaymentOrder\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
* @property int $id
|
||||
* @property string $name
|
||||
* @property string $display_name
|
||||
* @property string $value
|
||||
*/
|
||||
class VisaMasterSettings extends Model
|
||||
{
|
||||
protected $table = 'visa_master_settings';
|
||||
|
||||
/**
|
||||
* The possible types of settings.
|
||||
*
|
||||
* @return array<string, string>
|
||||
*/
|
||||
public static function types(): array
|
||||
{
|
||||
return [
|
||||
'payment_warning_text' => __('Warning text'),
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user