@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types = 1); |
|
| 2 | +declare(strict_types=1); |
|
| 3 | 3 | /** |
| 4 | 4 | * webtrees: online genealogy |
| 5 | 5 | * Copyright (C) 2018 webtrees development team |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types = 1); |
|
| 2 | +declare(strict_types=1); |
|
| 3 | 3 | /** |
| 4 | 4 | * webtrees: online genealogy |
| 5 | 5 | * Copyright (C) 2018 webtrees development team |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types = 1); |
|
| 2 | +declare(strict_types=1); |
|
| 3 | 3 | /** |
| 4 | 4 | * webtrees: online genealogy |
| 5 | 5 | * Copyright (C) 2018 webtrees development team |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types = 1); |
|
| 2 | +declare(strict_types=1); |
|
| 3 | 3 | /** |
| 4 | 4 | * webtrees: online genealogy |
| 5 | 5 | * Copyright (C) 2018 webtrees development team |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types = 1); |
|
| 2 | +declare(strict_types=1); |
|
| 3 | 3 | /** |
| 4 | 4 | * webtrees: online genealogy |
| 5 | 5 | * Copyright (C) 2018 webtrees development team |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types = 1); |
|
| 2 | +declare(strict_types=1); |
|
| 3 | 3 | /** |
| 4 | 4 | * webtrees: online genealogy |
| 5 | 5 | * Copyright (C) 2018 webtrees development team |
@@ -1,5 +1,5 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types = 1); |
|
| 2 | +declare(strict_types=1); |
|
| 3 | 3 | /** |
| 4 | 4 | * webtrees: online genealogy |
| 5 | 5 | * Copyright (C) 2018 webtrees development team |
@@ -110,7 +110,7 @@ discard block |
||
| 110 | 110 | if ($this->wrapWidthRemaining > 0) { |
| 111 | 111 | // Check with line counter too! |
| 112 | 112 | // but floor the $wrapWidthRemaining first to keep it bugfree! |
| 113 | - $wrapWidthRemaining = (int)($this->wrapWidthRemaining); |
|
| 113 | + $wrapWidthRemaining = (int) ($this->wrapWidthRemaining); |
|
| 114 | 114 | if ($lw >= $wrapWidthRemaining || $lfct > 1) { |
| 115 | 115 | $newtext = ''; |
| 116 | 116 | $lines = explode("\n", $this->numText); |
@@ -132,7 +132,7 @@ discard block |
||
| 132 | 132 | $newtext .= ' '; |
| 133 | 133 | } |
| 134 | 134 | } else { |
| 135 | - $lw = $pdf->GetStringWidth($word . ' '); |
|
| 135 | + $lw = $pdf->GetStringWidth($word . ' '); |
|
| 136 | 136 | $newtext .= "\n$word"; |
| 137 | 137 | if ($addspace != 0) { |
| 138 | 138 | $newtext .= ' '; |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types = 1); |
|
| 2 | +declare(strict_types=1); |
|
| 3 | 3 | /** |
| 4 | 4 | * webtrees: online genealogy |
| 5 | 5 | * Copyright (C) 2018 webtrees development team |
@@ -1,5 +1,5 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types = 1); |
|
| 2 | +declare(strict_types=1); |
|
| 3 | 3 | /** |
| 4 | 4 | * webtrees: online genealogy |
| 5 | 5 | * Copyright (C) 2018 webtrees development team |
@@ -125,7 +125,7 @@ discard block |
||
| 125 | 125 | if ($this->wrapWidthRemaining > 0) { |
| 126 | 126 | // Check with line counter too! |
| 127 | 127 | // but floor the $wrapWidthRemaining first to keep it bugfree! |
| 128 | - $wrapWidthRemaining = (int)($this->wrapWidthRemaining); |
|
| 128 | + $wrapWidthRemaining = (int) ($this->wrapWidthRemaining); |
|
| 129 | 129 | if ($lw >= $wrapWidthRemaining || $lfct > 1) { |
| 130 | 130 | $newtext = ''; |
| 131 | 131 | $lines = explode("\n", $this->text); |
@@ -147,7 +147,7 @@ discard block |
||
| 147 | 147 | $newtext .= ' '; |
| 148 | 148 | } |
| 149 | 149 | } else { |
| 150 | - $lw = $pdf->GetStringWidth($word . ' '); |
|
| 150 | + $lw = $pdf->GetStringWidth($word . ' '); |
|
| 151 | 151 | $newtext .= "\n$word"; |
| 152 | 152 | if ($addspace != 0) { |
| 153 | 153 | $newtext .= ' '; |