*/
 public class PHPVarDeclaration extends PHPSegment {
 
+  /** The value of the variable. */
   private String value;
     /**
      * Create a php variable declaration.
      * @param parent the parent object (it should be a php class)
      * @param name the name of the variable
      * @param index where the variable is in the file
-     * @param value la valeur
+     * @param value the value
      */
     public PHPVarDeclaration(Object parent, String name, int index, String value) {
-        super(parent, name, index);
+      super(parent, name, index);
       this.value = value;
     }
 
    * @param parent the parent object (it should be a php class)
    * @param name the name of the variable
    * @param index where the variable is in the file
-   * @param value la valeur
    */
   public PHPVarDeclaration(Object parent, String name, int index) {
       this(parent, name, index,null);
     }
 
   public String toString() {
-    if (value == null) {
+    if (value == null || value.equals("")) {
       return super.toString();
     } else {
       return name + " = " + value;