From f436fcceeeb51542bcb9543c0f4e43bf89598efd Mon Sep 17 00:00:00 2001 From: Sukhwinder Dhillon Date: Wed, 16 Aug 2023 16:48:57 +0200 Subject: [PATCH] Models: Fix method name case --- library/Icingadb/Model/CheckcommandArgument.php | 2 +- library/Icingadb/Model/CheckcommandCustomvar.php | 2 +- library/Icingadb/Model/CheckcommandEnvvar.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/library/Icingadb/Model/CheckcommandArgument.php b/library/Icingadb/Model/CheckcommandArgument.php index d59d4e3d2..3fb4ad5a3 100644 --- a/library/Icingadb/Model/CheckcommandArgument.php +++ b/library/Icingadb/Model/CheckcommandArgument.php @@ -70,6 +70,6 @@ public function createBehaviors(Behaviors $behaviors) public function createRelations(Relations $relations) { $relations->belongsTo('environment', Environment::class); - $relations->belongsTo('checkcommand', CheckCommand::class); + $relations->belongsTo('checkcommand', Checkcommand::class); } } diff --git a/library/Icingadb/Model/CheckcommandCustomvar.php b/library/Icingadb/Model/CheckcommandCustomvar.php index d55506e85..0a834b58c 100644 --- a/library/Icingadb/Model/CheckcommandCustomvar.php +++ b/library/Icingadb/Model/CheckcommandCustomvar.php @@ -43,7 +43,7 @@ public function createBehaviors(Behaviors $behaviors) public function createRelations(Relations $relations) { $relations->belongsTo('environment', Environment::class); - $relations->belongsTo('checkcommand', CheckCommand::class); + $relations->belongsTo('checkcommand', Checkcommand::class); $relations->belongsTo('customvar', Customvar::class); $relations->belongsTo('customvar_flat', CustomvarFlat::class) ->setCandidateKey('customvar_id') diff --git a/library/Icingadb/Model/CheckcommandEnvvar.php b/library/Icingadb/Model/CheckcommandEnvvar.php index cbcb92696..517a45fc5 100644 --- a/library/Icingadb/Model/CheckcommandEnvvar.php +++ b/library/Icingadb/Model/CheckcommandEnvvar.php @@ -56,6 +56,6 @@ public function createBehaviors(Behaviors $behaviors) public function createRelations(Relations $relations) { $relations->belongsTo('environment', Environment::class); - $relations->belongsTo('checkcommand', CheckCommand::class); + $relations->belongsTo('checkcommand', Checkcommand::class); } }