Skip to content

Commit c24639f

Browse files
committed
Remove duplicate slashes in autoloader path
1 parent d1efb2b commit c24639f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Handler.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,8 @@ public function generateAutoload() {
175175
* @return string
176176
*/
177177
protected function autoLoadContents($relativeVendorPath) {
178+
$relativeVendorPath = rtrim($relativeVendorPath, '/');
179+
178180
$autoloadContents = <<<EOF
179181
<?php
180182

0 commit comments

Comments
 (0)