Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

Commit

Permalink
fix(lint): fix coding style in contact class
Browse files Browse the repository at this point in the history
  • Loading branch information
kduret committed Oct 7, 2021
1 parent a71e851 commit 191817d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions www/class/config-generate/contact.class.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/*
* Copyright 2005-2019 Centreon
* Centreon is developed by : Julien Mathis and Romain Le Merlus under
Expand Down Expand Up @@ -109,7 +110,7 @@ private function getContactCache()
/**
* @see Contact::$contacts_service_linked_cache
*/
private function getContactForServiceCache() : void
private function getContactForServiceCache(): void
{
$stmt = $this->backend_instance->db->prepare("
SELECT csr.contact_id, service_service_id
Expand Down Expand Up @@ -210,7 +211,7 @@ protected function getContactNotificationCommands($contact_id, $label)
* @see Contact::getContactCache()
* @see Contact::getContactForServiceCache()
*/
protected function buildCache() : void
protected function buildCache(): void
{
if ($this->done_cache == 1) {
return;
Expand Down

0 comments on commit 191817d

Please sign in to comment.