Skip to content

Commit 4860e8e

Browse files
committed
Correct 2 Doc-block statements
1 parent 4b04cc1 commit 4860e8e

File tree

1 file changed

+2
-2
lines changed
  • src/PhpSpreadsheet/Calculation/TextData

1 file changed

+2
-2
lines changed

src/PhpSpreadsheet/Calculation/TextData/Text.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class Text
1818
* @param mixed $value String Value
1919
* Or can be an array of values
2020
*
21-
* @return array|int If an array of values is passed for the argument, then the returned result
21+
* @return array|int|string If an array of values is passed for the argument, then the returned result
2222
* will also be an array with matching dimensions
2323
*/
2424
public static function length(mixed $value = ''): array|int|string
@@ -46,7 +46,7 @@ public static function length(mixed $value = ''): array|int|string
4646
* @param mixed $value2 String Value
4747
* Or can be an array of values
4848
*
49-
* @return array|bool If an array of values is passed for either of the arguments, then the returned result
49+
* @return array|bool|string If an array of values is passed for either of the arguments, then the returned result
5050
* will also be an array with matching dimensions
5151
*/
5252
public static function exact(mixed $value1, mixed $value2): array|bool|string

0 commit comments

Comments
 (0)