Removed @return void as not compatible with projects coding standard.

This commit is contained in:
hazington 2023-01-03 23:38:08 +01:00
parent a215501cc9
commit 050802bdb5
2 changed files with 2 additions and 9 deletions

View File

@ -25,8 +25,6 @@ class TextBox extends Image
{
/**
* Write element.
*
* @return void
*/
public function write(): void
{

View File

@ -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();