diff --git a/src/PhpWord/Writer/Word2007/Element/TextBox.php b/src/PhpWord/Writer/Word2007/Element/TextBox.php index 18fef7a6..0efc50f9 100644 --- a/src/PhpWord/Writer/Word2007/Element/TextBox.php +++ b/src/PhpWord/Writer/Word2007/Element/TextBox.php @@ -25,8 +25,6 @@ class TextBox extends Image { /** * Write element. - * - * @return void */ public function write(): void { diff --git a/src/PhpWord/Writer/Word2007/Style/TextBox.php b/src/PhpWord/Writer/Word2007/Style/TextBox.php index 89dc4a39..91361c9f 100644 --- a/src/PhpWord/Writer/Word2007/Style/TextBox.php +++ b/src/PhpWord/Writer/Word2007/Style/TextBox.php @@ -2,16 +2,13 @@ /** * This file is part of PHPWord - A pure PHP library for reading and writing * word processing documents. - * * PHPWord is free software distributed under the terms of the GNU Lesser * General Public License version 3 as published by the Free Software Foundation. - * * For the full copyright and license information, please read the LICENSE * file that was distributed with this source code. For the full list of * contributors, visit https://github.com/PHPOffice/PHPWord/contributors. * * @see https://github.com/PHPOffice/PHPWord - * * @license http://www.gnu.org/licenses/lgpl.txt LGPL version 3 */ @@ -28,12 +25,11 @@ class TextBox extends Frame { /** * Writer inner margin. - * @return void */ public function writeInnerMargin(): void { $style = $this->getStyle(); - if (!$style instanceof TextBoxStyle || !$style->hasInnerMargins()) { + if (! $style instanceof TextBoxStyle || ! $style->hasInnerMargins()) { return; } @@ -45,12 +41,11 @@ class TextBox extends Frame /** * Writer border. - * @return void */ public function writeBorder(): void { $style = $this->getStyle(); - if (!$style instanceof TextBoxStyle) { + if (! $style instanceof TextBoxStyle) { return; } $xmlWriter = $this->getXmlWriter();