@@ -8,8 +8,8 @@ |
||
| 8 | 8 | |
| 9 | 9 | namespace Starlit\Db; |
| 10 | 10 | |
| 11 | -use Starlit\Utils\Str; |
|
| 12 | 11 | use Starlit\Utils\Arr; |
| 12 | +use Starlit\Utils\Str; |
|
| 13 | 13 | use Starlit\Utils\Validation\Validator; |
| 14 | 14 | use Starlit\Utils\Validation\ValidatorTranslatorInterface; |
| 15 | 15 | use Symfony\Component\Translation\TranslatorInterface as SymfonyTranslatorInterface; |
@@ -142,7 +142,7 @@ discard block |
||
| 142 | 142 | |
| 143 | 143 | /** |
| 144 | 144 | * @param string $channel |
| 145 | - * @return int |
|
| 145 | + * @return string |
|
| 146 | 146 | */ |
| 147 | 147 | protected function getChannelEntriesCount($channel) |
| 148 | 148 | { |
@@ -153,7 +153,7 @@ discard block |
||
| 153 | 153 | } |
| 154 | 154 | |
| 155 | 155 | /** |
| 156 | - * @param $channel |
|
| 156 | + * @param string $channel |
|
| 157 | 157 | * @param $entriesToDelete |
| 158 | 158 | */ |
| 159 | 159 | protected function deleteXOldestChannelEntries($channel, $entriesToDelete) |