File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -137,7 +137,7 @@ public static function create_map( $path, $args = array() ) {
137137 }
138138
139139 if ( false === $ failed && ! isset ( $ map [ $ class ] ) ) {
140- $ map [ $ class ] = ( false === $ args ['fullpath ' ] ) ? $ file ->getrelativePathname () : $ file_path ;
140+ $ map [ $ class ] = ( false === $ args ['fullpath ' ] ) ? str_replace ( '\\' , ' / ' , $ file ->getrelativePathname () ) : $ file_path ;
141141 }
142142 }
143143 }
@@ -302,4 +302,4 @@ private static function find_classes( $path ) {
302302$ path_info = pathinfo ( $ cgf ['output ' ] );
303303$ save_data = ( 'json ' === $ path_info ['extension ' ] ) ? json_encode ( $ maps ) : var_export ( $ maps , true );
304304$ save_data = ( 'json ' === $ path_info ['extension ' ] ) ? $ save_data : sprintf ( $ contents , $ save_data );
305- file_put_contents ( $ cgf ['output ' ], $ save_data );
305+ file_put_contents ( $ cgf ['output ' ], $ save_data );
You can’t perform that action at this time.
0 commit comments