Skip to content

Commit 003ccc4

Browse files
Update TablerPreset.php
1 parent 2b6c030 commit 003ccc4

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/TablerPreset.php

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ protected static function updateBootstrapping()
6464
if (self::isLaravel57orUp()) {
6565
file_put_contents(base_path('webpack.mix.js'),
6666
str_replace(
67-
"assets/",
68-
"",
67+
'assets/',
68+
'',
6969
file_get_contents(base_path('webpack.mix.js'))
7070
)
7171
);
@@ -106,6 +106,7 @@ protected static function compileControllerStub()
106106
* Gets resource path depending on version of Laravel.
107107
*
108108
* @param string $path
109+
*
109110
* @return string
110111
*/
111112
protected static function getResourcePath($path = '')
@@ -115,7 +116,7 @@ protected static function getResourcePath($path = '')
115116
return resource_path($path);
116117
}
117118

118-
return resource_path('assets/' . $path);
119+
return resource_path('assets/'. $path);
119120
}
120121

121122
/**
@@ -125,6 +126,6 @@ protected static function getResourcePath($path = '')
125126
*/
126127
protected static function isLaravel57orUp()
127128
{
128-
return (int)str_replace('.', '', app()->version()) >= 570;
129+
return (int) str_replace('.', '', app()->version()) >= 570;
129130
}
130131
}

0 commit comments

Comments
 (0)