Skip to content

Commit b650e0f

Browse files
radarhereProgi1984
andauthored
Set name argument type
Co-authored-by: Progi1984 <progi1984@gmail.com>
1 parent fbd698d commit b650e0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PhpWord/Shared/XMLWriter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ public function writeAttributeIf($condition, $attribute, $value): void
173173
* @param string $name
174174
* @param mixed $value
175175
*/
176-
public function writeAttribute($name, $value): bool
176+
public function writeAttribute(string $name, $value): bool
177177
{
178178
if (is_float($value)) {
179179
$value = json_encode($value);

0 commit comments

Comments
 (0)