Skip to content

Commit 4347bec

Browse files
committed
Fixed trim bug
1 parent 7937beb commit 4347bec

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)