Skip to content

Commit

Permalink
added missing docblock params to Str::wrap and Str::slug (#44936)
Browse files Browse the repository at this point in the history
  • Loading branch information
mirzazeyrek authored Nov 14, 2022
1 parent 246873e commit 0a911fe
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Illuminate/Support/Str.php
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,7 @@ public static function finish($value, $cap)
/**
* Wrap the string with the given strings.
*
* @param string $value
* @param string $before
* @param string|null $after
* @return string
Expand Down Expand Up @@ -1012,6 +1013,7 @@ public static function singular($value)
* @param string $title
* @param string $separator
* @param string|null $language
* @param array<string, string> $dictionary
* @return string
*/
public static function slug($title, $separator = '-', $language = 'en', $dictionary = ['@' => 'at'])
Expand Down

0 comments on commit 0a911fe

Please sign in to comment.