File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -64,8 +64,8 @@ protected static function updateBootstrapping()
64
64
if (self ::isLaravel57orUp ()) {
65
65
file_put_contents (base_path ('webpack.mix.js ' ),
66
66
str_replace (
67
- " assets/ " ,
68
- "" ,
67
+ ' assets/ ' ,
68
+ '' ,
69
69
file_get_contents (base_path ('webpack.mix.js ' ))
70
70
)
71
71
);
@@ -106,6 +106,7 @@ protected static function compileControllerStub()
106
106
* Gets resource path depending on version of Laravel.
107
107
*
108
108
* @param string $path
109
+ *
109
110
* @return string
110
111
*/
111
112
protected static function getResourcePath ($ path = '' )
@@ -115,7 +116,7 @@ protected static function getResourcePath($path = '')
115
116
return resource_path ($ path );
116
117
}
117
118
118
- return resource_path ('assets/ ' . $ path );
119
+ return resource_path ('assets/ ' . $ path );
119
120
}
120
121
121
122
/**
@@ -125,6 +126,6 @@ protected static function getResourcePath($path = '')
125
126
*/
126
127
protected static function isLaravel57orUp ()
127
128
{
128
- return (int )str_replace ('. ' , '' , app ()->version ()) >= 570 ;
129
+ return (int ) str_replace ('. ' , '' , app ()->version ()) >= 570 ;
129
130
}
130
131
}
You can’t perform that action at this time.
0 commit comments