Private GIT

Skip to content
Snippets Groups Projects
Commit cad9f80b authored by Julien Mathis's avatar Julien Mathis
Browse files

improve source code

parent 69fd6ae2
No related branches found
No related tags found
No related merge requests found
...@@ -78,7 +78,6 @@ class CentreonGraphCurve ...@@ -78,7 +78,6 @@ class CentreonGraphCurve
$parameters['type'] = 'simple'; $parameters['type'] = 'simple';
break; break;
} }
return $parameters; return $parameters;
} }
......
...@@ -205,7 +205,6 @@ class CentreonGraphService extends CentreonGraph ...@@ -205,7 +205,6 @@ class CentreonGraphService extends CentreonGraph
} }
} }
} }
return $metrics; return $metrics;
} }
...@@ -227,7 +226,6 @@ class CentreonGraphService extends CentreonGraph ...@@ -227,7 +226,6 @@ class CentreonGraphService extends CentreonGraph
if (false == $row) { if (false == $row) {
throw new OutOfRangeException(); throw new OutOfRangeException();
} }
return $row['id']; return $row['id'];
} }
} }
...@@ -300,7 +300,6 @@ class CentreonGraphStatus ...@@ -300,7 +300,6 @@ class CentreonGraphStatus
if (false == $row) { if (false == $row) {
throw new OutOfRangeException(); throw new OutOfRangeException();
} }
return $row['id']; return $row['id'];
} }
} }
...@@ -46,8 +46,6 @@ ...@@ -46,8 +46,6 @@
*/ */
class CentreonGraphTemplate class CentreonGraphTemplate
{ {
/** /**
* *
* @var type * @var type
...@@ -60,7 +58,6 @@ class CentreonGraphTemplate ...@@ -60,7 +58,6 @@ class CentreonGraphTemplate
*/ */
protected $instanceObj; protected $instanceObj;
/** /**
* Constructor * Constructor
* *
...@@ -72,6 +69,7 @@ class CentreonGraphTemplate ...@@ -72,6 +69,7 @@ class CentreonGraphTemplate
$this->db = $db; $this->db = $db;
$this->instanceObj = new CentreonInstance($db); $this->instanceObj = new CentreonInstance($db);
} }
/** /**
* *
* @param array $values * @param array $values
...@@ -95,8 +93,6 @@ class CentreonGraphTemplate ...@@ -95,8 +93,6 @@ class CentreonGraphTemplate
'text' => $row['name'] 'text' => $row['name']
); );
} }
return $items; return $items;
} }
} }
...@@ -71,7 +71,6 @@ class CentreonGraphVirtualMetric ...@@ -71,7 +71,6 @@ class CentreonGraphVirtualMetric
$parameters['externalObject']['object'] = 'centreonService'; $parameters['externalObject']['object'] = 'centreonService';
break; break;
} }
return $parameters; return $parameters;
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment