Skip to content

Commit 5cec69d

Browse files
committed
Merge pull request #8 from joegreen88/master
Fixed trim bug
2 parents 732009c + 4347bec commit 5cec69d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Smrtr/MysqlVersionControl/DbConfig.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,6 @@ protected static function getProjectPath()
6060
{
6161
$parts = explode('vendor', __FILE__);
6262
array_pop($parts);
63-
return trim(implode('vendor', $parts), '/\\');
63+
return rtrim(implode('vendor', $parts), '/\\');
6464
}
6565
}

0 commit comments

Comments
 (0)