@@ -47,7 +47,7 @@ |
||
| 47 | 47 | * |
| 48 | 48 | * @param string $time |
| 49 | 49 | * @param string|DateTimeZone $timezone |
| 50 | - * @return \Illuminate\Support\DateFactory|string |
|
| 50 | + * @return Illuminate\Support\Carbon|null |
|
| 51 | 51 | */ |
| 52 | 52 | function carbon($time = null, $timezone = null) |
| 53 | 53 | { |
@@ -21,7 +21,7 @@ discard block |
||
| 21 | 21 | /** |
| 22 | 22 | * Set the current locale. |
| 23 | 23 | * |
| 24 | - * @param $locale |
|
| 24 | + * @param string $locale |
|
| 25 | 25 | * @return $this |
| 26 | 26 | */ |
| 27 | 27 | abstract public function setLocale($locale); |
@@ -36,7 +36,7 @@ discard block |
||
| 36 | 36 | /** |
| 37 | 37 | * Set the fallback locale. |
| 38 | 38 | * |
| 39 | - * @param $locale |
|
| 39 | + * @param string $locale |
|
| 40 | 40 | * @return $this |
| 41 | 41 | */ |
| 42 | 42 | abstract public function setFallbackLocale($locale); |
@@ -54,7 +54,7 @@ discard block |
||
| 54 | 54 | /** |
| 55 | 55 | * Forget the search cache as whole or by key. |
| 56 | 56 | * |
| 57 | - * @return array |
|
| 57 | + * @return Intl |
|
| 58 | 58 | */ |
| 59 | 59 | public function forgetSearchCache($cacheKey = null) |
| 60 | 60 | { |
@@ -120,7 +120,7 @@ |
||
| 120 | 120 | foreach ($keywords as $keyword) { |
| 121 | 121 | if (Str::startsWith($keyword, ['-', '\\-'])) { |
| 122 | 122 | $excludeKeywords[] = str_replace(['-', '\\'], '', $keyword); |
| 123 | - } else { |
|
| 123 | + } else { |
|
| 124 | 124 | $includeKeywords[] = $keyword; |
| 125 | 125 | } |
| 126 | 126 | } |