summaryrefslogtreecommitdiff
path: root/app/Report
diff options
context:
space:
mode:
authorGreg Roach <greg@subaqua.co.uk>2022-02-05 12:35:21 +0000
committerGreg Roach <greg@subaqua.co.uk>2022-02-06 12:26:14 +0000
commit7fa97a692e549953cc46c515f488c131f1cf8cd8 (patch)
treeb4230049a1423ddcd2dff8b6f077accf061c3297 /app/Report
parent6dbfdb0c27cfefb7a183c5539ae7948df08837ee (diff)
downloadwebtrees-7fa97a692e549953cc46c515f488c131f1cf8cd8.tar.gz
webtrees-7fa97a692e549953cc46c515f488c131f1cf8cd8.tar.bz2
webtrees-7fa97a692e549953cc46c515f488c131f1cf8cd8.zip
Strict types
Diffstat (limited to 'app/Report')
-rw-r--r--app/Report/RightToLeftSupport.php16
1 files changed, 8 insertions, 8 deletions
diff --git a/app/Report/RightToLeftSupport.php b/app/Report/RightToLeftSupport.php
index e58d4cecaa..3caa069a28 100644
--- a/app/Report/RightToLeftSupport.php
+++ b/app/Report/RightToLeftSupport.php
@@ -56,17 +56,17 @@ class RightToLeftSupport
private const LENGTH_START = 5;
private const LENGTH_END = 6;
- /** @var string Were we previously processing LTR or RTL. */
- private static $previousState;
+ /* Were we previously processing LTR or RTL. */
+ private static string $previousState;
- /** @var string Are we currently processing LTR or RTL. */
- private static $currentState;
+ /* Are we currently processing LTR or RTL. */
+ private static string $currentState;
- /** @var string Text waiting to be processed. */
- private static $waitingText;
+ /* Text waiting to be processed. */
+ private static string $waitingText;
- /** @var int Offset into the text. */
- private static $posSpanStart;
+ /* Offset into the text. */
+ private static int $posSpanStart;
/**
* This function strips &lrm; and &rlm; from the input string. It should be used for all