From 7791ca2aa5565d63d9cd628d53c032f86f219d0c Mon Sep 17 00:00:00 2001 From: Raul Ruiz <publiux@gmail.com> Date: Fri, 8 Jan 2016 10:20:42 -0500 Subject: [PATCH] Utilizing SharedString instead of String --- src/PhpWord/Element/CheckBox.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/PhpWord/Element/CheckBox.php b/src/PhpWord/Element/CheckBox.php index 9362c3b17a..3273724e3a 100644 --- a/src/PhpWord/Element/CheckBox.php +++ b/src/PhpWord/Element/CheckBox.php @@ -17,7 +17,7 @@ namespace PhpOffice\PhpWord\Element; -use PhpOffice\PhpWord\Shared\String; +use PhpOffice\PhpWord\Shared\SharedString; /** * Check box element @@ -56,7 +56,7 @@ public function __construct($name = null, $text = null, $fontStyle = null, $para */ public function setName($name) { - $this->name = String::toUTF8($name); + $this->name = SharedString::toUTF8($name); return $this; }