mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-21 15:53:45 +02:00
Singularize model names.
This commit is contained in:
@@ -26,7 +26,7 @@ namespace Pterodactyl\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class ServiceOptions extends Model
|
||||
class ServiceOption extends Model
|
||||
{
|
||||
/**
|
||||
* The table associated with the model.
|
||||
@@ -100,7 +100,7 @@ class ServiceOptions extends Model
|
||||
*/
|
||||
public function variables()
|
||||
{
|
||||
return $this->hasMany(ServiceVariables::class, 'option_id');
|
||||
return $this->hasMany(ServiceVariable::class, 'option_id');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user