Skip to content

Commit

Permalink
Models: Fix method name case
Browse files Browse the repository at this point in the history
  • Loading branch information
sukhwinder33445 committed Aug 16, 2023
1 parent 2c17507 commit f436fcc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion library/Icingadb/Model/CheckcommandArgument.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
2 changes: 1 addition & 1 deletion library/Icingadb/Model/CheckcommandCustomvar.php
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down
2 changes: 1 addition & 1 deletion library/Icingadb/Model/CheckcommandEnvvar.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

0 comments on commit f436fcc

Please sign in to comment.