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 @@ -80,10 +80,10 @@ public static function getOptions() {
8080 *
8181 * @return {String} the final, post-2.1.0-style styleguideKitPath
8282 */
83- protected static function getStyleguideKitPath ($ styleguideKitPath ) {
83+ protected static function getStyleguideKitPath ($ styleguideKitPath = "" ) {
8484
8585 $ styleguideKitPathFinal = "" ;
86- if ($ styleguideKitPath [0 ] == DIRECTORY_SEPARATOR ) {
86+ if (isset ( $ styleguideKitPath [0 ]) && ( $ styleguideKitPath [ 0 ] == DIRECTORY_SEPARATOR ) ) {
8787 if (strpos ($ styleguideKitPath , DIRECTORY_SEPARATOR ."vendor " .DIRECTORY_SEPARATOR === 0 )) {
8888 $ styleguideKitPathFinal = $ styleguideKitPath ; // mistaken set-up, pass to final for clean-up
8989 } else if (strpos ($ styleguideKitPath , self ::$ options ["baseDir " ]) === 0 ) {
You can’t perform that action at this time.
0 commit comments