Skip to content

Commit

Permalink
Fixes codestyle
Browse files Browse the repository at this point in the history
  • Loading branch information
SmetDenis committed Jul 18, 2020
1 parent 9a8c91f commit 6d91404
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Str.php
Expand Up @@ -607,7 +607,7 @@ public static function isEnd(string $haystack, string $needle, bool $caseSensiti
*/
public static function trim(string $value, bool $extendMode = false): string
{
$result = (string)trim($value);
$result = trim($value);

if ($extendMode) {
$result = trim($result, chr(0xE3) . chr(0x80) . chr(0x80));
Expand Down
2 changes: 1 addition & 1 deletion src/Sys.php
Expand Up @@ -257,7 +257,7 @@ public static function getNameWithVersion(): string
$name = self::getName();
$version = self::getVersion();

return (string)trim("{$name} {$version}");
return trim("{$name} {$version}");
}

/**
Expand Down
2 changes: 1 addition & 1 deletion src/Url.php
Expand Up @@ -119,7 +119,7 @@ public static function current(bool $addAuth = false): ?string
$root = self::root($addAuth);
$path = self::path();

return (string)trim("{$root}{$path}") ?: null;
return trim("{$root}{$path}") ?: null;
}

/**
Expand Down

0 comments on commit 6d91404

Please sign in to comment.