Typo fixes on comments with reverting substr related changes
Signed-off-by: Kiran Parajuli <kiranparajuli589@gmail.com>
This commit is contained in:
committed by
Phil Davis
parent
88de0070a7
commit
35d4cb53ae
@@ -84,7 +84,7 @@ class GraphHelper {
|
||||
*/
|
||||
public static function getFullUrl(string $baseUrl, string $path): string {
|
||||
$fullUrl = $baseUrl;
|
||||
if (!str_ends_with($fullUrl, '/')) {
|
||||
if (\substr($fullUrl, -1) !== '/') {
|
||||
$fullUrl .= '/';
|
||||
}
|
||||
$fullUrl .= 'graph/v1.0/' . $path;
|
||||
|
||||
Reference in New Issue
Block a user