From 9228fa4f329ca2725b2ee0c2733f92fa5e725e62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dawid=20=C5=81akomski?= Date: Wed, 13 Jan 2021 10:33:17 +0100 Subject: [PATCH] Fix incorrect return type for StringValue::matchAllPatterns() --- src/PlainString.php | 2 +- src/PlainStringsArray.php | 2 +- src/StringValue.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/PlainString.php b/src/PlainString.php index aeeea5e..3e6727e 100644 --- a/src/PlainString.php +++ b/src/PlainString.php @@ -247,7 +247,7 @@ public function endsWith($pattern): bool /** * @param string|StringValue $pattern - * @return ArrayValue + * @return ArrayValue */ public function matchAllPatterns($pattern): ArrayValue { diff --git a/src/PlainStringsArray.php b/src/PlainStringsArray.php index de91e7a..a328816 100644 --- a/src/PlainStringsArray.php +++ b/src/PlainStringsArray.php @@ -498,7 +498,7 @@ public function positionLast($needle): ?int /** * @param string|StringValue $pattern - * @return ArrayValue + * @return ArrayValue */ public function matchAllPatterns($pattern): ArrayValue { diff --git a/src/StringValue.php b/src/StringValue.php index bf00478..b15571c 100644 --- a/src/StringValue.php +++ b/src/StringValue.php @@ -148,7 +148,7 @@ public function positionLast($needle): ?int; /** * @param string|StringValue $pattern - * @return ArrayValue + * @return ArrayValue */ public function matchAllPatterns($pattern): ArrayValue;