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 4242 </errorLevel >
4343 </RedundantConditionGivenDocblockType >
4444
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-
5745 <ArgumentTypeCoercion >
5846 <errorLevel type =" info" >
5947 <!-- 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
4242 * Note that this changes the return value in an array where every element is an array consisting of the
4343 * matched string at offset 0 and its string offset into subject at offset 1.
4444 *
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
4647 *
4748 * @throws PcreException
4849 */
You can’t perform that action at this time.
0 commit comments