Skip to content

Commit 050802b

Browse files
author
hazington
committed
Removed @return void as not compatible with projects coding standard.
1 parent a215501 commit 050802b

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
lines changed

src/PhpWord/Writer/Word2007/Element/TextBox.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@ class TextBox extends Image
2525
{
2626
/**
2727
* Write element.
28-
*
29-
* @return void
3028
*/
3129
public function write(): void
3230
{

src/PhpWord/Writer/Word2007/Style/TextBox.php

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,13 @@
22
/**
33
* This file is part of PHPWord - A pure PHP library for reading and writing
44
* word processing documents.
5-
*
65
* PHPWord is free software distributed under the terms of the GNU Lesser
76
* General Public License version 3 as published by the Free Software Foundation.
8-
*
97
* For the full copyright and license information, please read the LICENSE
108
* file that was distributed with this source code. For the full list of
119
* contributors, visit https://github.com/PHPOffice/PHPWord/contributors.
1210
*
1311
* @see https://github.com/PHPOffice/PHPWord
14-
*
1512
* @license http://www.gnu.org/licenses/lgpl.txt LGPL version 3
1613
*/
1714

@@ -28,12 +25,11 @@ class TextBox extends Frame
2825
{
2926
/**
3027
* Writer inner margin.
31-
* @return void
3228
*/
3329
public function writeInnerMargin(): void
3430
{
3531
$style = $this->getStyle();
36-
if (!$style instanceof TextBoxStyle || !$style->hasInnerMargins()) {
32+
if (! $style instanceof TextBoxStyle || ! $style->hasInnerMargins()) {
3733
return;
3834
}
3935

@@ -45,12 +41,11 @@ public function writeInnerMargin(): void
4541

4642
/**
4743
* Writer border.
48-
* @return void
4944
*/
5045
public function writeBorder(): void
5146
{
5247
$style = $this->getStyle();
53-
if (!$style instanceof TextBoxStyle) {
48+
if (! $style instanceof TextBoxStyle) {
5449
return;
5550
}
5651
$xmlWriter = $this->getXmlWriter();

0 commit comments

Comments
 (0)