Skip to content

Commit 631406b

Browse files
committed
Merge pull request #21 from hctom/duplicate-slashes-in-autoloader
Remove duplicate slashes in autoloader path
2 parents 0be424b + c24639f commit 631406b

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
@@ -166,6 +166,8 @@ public function generateAutoload() {
166166
* @return string
167167
*/
168168
protected function autoLoadContents($relativeVendorPath) {
169+
$relativeVendorPath = rtrim($relativeVendorPath, '/');
170+
169171
$autoloadContents = <<<EOF
170172
<?php
171173

0 commit comments

Comments
 (0)