diff options
Diffstat (limited to 'vendor/patrickschur/language-detection/src/LanguageDetection')
-rw-r--r-- | vendor/patrickschur/language-detection/src/LanguageDetection/LanguageResult.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/patrickschur/language-detection/src/LanguageDetection/LanguageResult.php b/vendor/patrickschur/language-detection/src/LanguageDetection/LanguageResult.php index 5b89ff44e..24c805841 100644 --- a/vendor/patrickschur/language-detection/src/LanguageDetection/LanguageResult.php +++ b/vendor/patrickschur/language-detection/src/LanguageDetection/LanguageResult.php @@ -142,7 +142,7 @@ class LanguageResult implements \JsonSerializable, \IteratorAggregate, \ArrayAcc * @param int|null $length * @return LanguageResult */ - public function limit(int $offset, int $length = null): LanguageResult + public function limit(int $offset, ?int $length = null): LanguageResult { return new LanguageResult(\array_slice($this->result, $offset, $length)); } |