diff --git a/src/Illuminate/Support/Stringable.php b/src/Illuminate/Support/Stringable.php index 6352bb62b200..fd344622cd3f 100644 --- a/src/Illuminate/Support/Stringable.php +++ b/src/Illuminate/Support/Stringable.php @@ -204,7 +204,7 @@ public function containsAll($needles, $ignoreCase = false) * Convert the case of a string. * * @param int $mode - * @param string $encoding + * @param string|null $encoding * @return static */ public function convertCase(int $mode = MB_CASE_FOLD, ?string $encoding = 'UTF-8') @@ -1249,7 +1249,7 @@ public function toHtmlString() /** * Convert the string to Base64 encoding. * - * @return void + * @return static */ public function toBase64() { @@ -1260,7 +1260,7 @@ public function toBase64() * Decode the Base64 encoded string. * * @param bool $strict - * @return void + * @return static */ public function fromBase64($strict = false) {