File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -62,12 +62,12 @@ public function setCurrentDepth($depth)
6262 $ this ->currentDepth = $ depth ;
6363 }
6464
65- public function pathForClass (array $ context , ClassReflection $ class )
65+ public function pathForClass (array $ context , string $ class ): string
6666 {
6767 return $ this ->relativeUri ($ this ->currentDepth ) . str_replace ('\\' , '/ ' , $ class ) . '.html ' ;
6868 }
6969
70- public function pathForNamespace (array $ context , $ namespace )
70+ public function pathForNamespace (array $ context , string $ namespace ): string
7171 {
7272 return $ this ->relativeUri ($ this ->currentDepth ) . str_replace ('\\' , '/ ' , $ namespace ) . '.html ' ;
7373 }
Original file line number Diff line number Diff line change @@ -299,7 +299,7 @@ $(function() {
299299 </div >
300300 </li >
301301 {%- else -%}
302- <li data-name =" class:{{ ( element [1 ].name) | replace ({' \\' : ' _' }) }}" {% if depth < opened %}class =" opened" {% endif %}>
302+ <li data-name =" class:{{ element [1 ]| replace ({' \\' : ' _' }) }}" {% if depth < opened %}class =" opened" {% endif %}>
303303 <div style =" padding-left:{{ 8 + (depth * 18 ) }}px" class =" hd leaf" >
304304 <a href =" {{ class_path(element [1 ]) }}" >{{ element [0 ] }}</a >
305305 </div >
You can’t perform that action at this time.
0 commit comments