File tree Expand file tree Collapse file tree 2 files changed +2
-13
lines changed Expand file tree Collapse file tree 2 files changed +2
-13
lines changed Original file line number Diff line number Diff line change 42
42
</errorLevel >
43
43
</RedundantConditionGivenDocblockType >
44
44
45
- <InvalidReturnType >
46
- <errorLevel type =" info" >
47
- <file name =" src/Utils.php" />
48
- </errorLevel >
49
- </InvalidReturnType >
50
-
51
- <InvalidReturnStatement >
52
- <errorLevel type =" info" >
53
- <file name =" src/Utils.php" />
54
- </errorLevel >
55
- </InvalidReturnStatement >
56
-
57
45
<ArgumentTypeCoercion >
58
46
<errorLevel type =" info" >
59
47
<!-- PHP handles invalid preg_split flags just fine. -->
Original file line number Diff line number Diff line change @@ -42,7 +42,8 @@ abstract class Utils
42
42
* Note that this changes the return value in an array where every element is an array consisting of the
43
43
* matched string at offset 0 and its string offset into subject at offset 1.
44
44
*
45
- * @return string[] Returns an array containing substrings of subject split along boundaries matched by pattern
45
+ * @return array<int|string, array<int|string, string>> Returns an array containing substrings of subject
46
+ * split along boundaries matched by pattern
46
47
*
47
48
* @throws PcreException
48
49
*/
You can’t perform that action at this time.
0 commit comments