Skip to content

Commit

Permalink
Added return type will change to XMLWriter.php
Browse files Browse the repository at this point in the history
  • Loading branch information
mal-risma committed Mar 30, 2022
1 parent 2bba013 commit 6b33160
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/PhpWord/Shared/XMLWriter.php
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@ public function writeAttributeIf($condition, $attribute, $value)
* @param mixed $value
* @return bool
*/
#[\ReturnTypeWillChange]
public function writeAttribute($name, $value)
{
if (is_float($value)) {
Expand Down

0 comments on commit 6b33160

Please sign in to comment.