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:
2025-11-13 22:46:19 +05:00
parent 038b5ea2fb
commit 2659aae278
9 changed files with 217 additions and 3 deletions

View File

@@ -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'),
];
}
}