CodeDoc/Data/Class.php
authorAlan Knowles <alan@roojs.com>
Fri, 14 Oct 2016 02:41:47 +0000 (10:41 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 14 Oct 2016 02:41:47 +0000 (10:41 +0800)
CodeDoc/Data/Class.php

index 966c3a1..93b7c15 100644 (file)
@@ -77,7 +77,7 @@ class PHP_CodeDoc_Data_Class {
         foreach($this->Attributes as $op) {
          //   $ret[$this->name . '.'.$op->name] = $op->toJS();
         }
-        $ret[str_replace('_','-',strtolower($this->name))] = $cats;
+        $ret[ $this->name] = $cats;
         return $ret;
     }