Skip to content

Commit 5ac1c51

Browse files
authored
Typo in Loader.php
Trying to call function sprint instead of sprintf which leads to an error.
1 parent 3185642 commit 5ac1c51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Loader.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ public function __construct(
310310
$$Path = $VendorPath . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'phpmussel-' . strtolower(substr($Path, 0, -4));
311311
}
312312
if (!$this->buildPath($$Path, false)) {
313-
throw new \Exception(sprint('Unable to build the path, "%s".', $$Path));
313+
throw new \Exception(sprintf('Unable to build the path, "%s".', $$Path));
314314
}
315315
if (($End = substr($$Path, -1)) && $End !== '/' && $End !== '\\') {
316316
$$Path .= DIRECTORY_SEPARATOR;

0 commit comments

Comments
 (0)