fix some CS

This commit is contained in:
Manuel Raynaud
2013-01-09 09:13:25 +01:00
parent a168082d54
commit 4e21c25867
26 changed files with 422 additions and 346 deletions

View File

@@ -35,8 +35,8 @@ class TlogDestinationConfig
public $type;
public $valeur;
public function __construct($nom, $titre, $label, $defaut, $type, $config = null) {
public function __construct($nom, $titre, $label, $defaut, $type, $config = null)
{
$this->nom = $nom;
$this->titre = $titre;
$this->label = $label;
@@ -44,9 +44,8 @@ class TlogDestinationConfig
$this->type = $type;
// @$this->charger();
if($config)
{
if ($config) {
$this->valeur = $config->read($this->nom, $this->defaut);
}
}
@@ -61,4 +60,4 @@ class TlogDestinationConfig
// $this->add();
// }
// }
}
}