[PLUGINS] ~maj globale
[lhc/web/www.git] / www / plugins / yaml / yaml_fonctions.php
index 0880d9a..ef2c1fb 100644 (file)
@@ -1,10 +1,12 @@
 <?php
 
 // Sécurité
-if (!defined("_ECRIRE_INC_VERSION")) return;
+if (!defined('_ECRIRE_INC_VERSION')) {
+       return;
+}
 
 // Filtre permettant d'utiliser yaml_decode_file() dans un squelette
-function decoder_yaml($fichier){
+function decoder_yaml($fichier) {
        include_spip('inc/yaml');
        return yaml_decode_file($fichier);
 }
@@ -13,5 +15,3 @@ function inc_yaml_to_array($u) {
        include_spip('inc/yaml');
        return yaml_decode($u);
 }
-
-?>