File tree Expand file tree Collapse file tree 2 files changed +2
-9
lines changed
src/PhpWord/Writer/Word2007 Expand file tree Collapse file tree 2 files changed +2
-9
lines changed Original file line number Diff line number Diff line change @@ -25,8 +25,6 @@ class TextBox extends Image
25
25
{
26
26
/**
27
27
* Write element.
28
- *
29
- * @return void
30
28
*/
31
29
public function write (): void
32
30
{
Original file line number Diff line number Diff line change 2
2
/**
3
3
* This file is part of PHPWord - A pure PHP library for reading and writing
4
4
* word processing documents.
5
- *
6
5
* PHPWord is free software distributed under the terms of the GNU Lesser
7
6
* General Public License version 3 as published by the Free Software Foundation.
8
- *
9
7
* For the full copyright and license information, please read the LICENSE
10
8
* file that was distributed with this source code. For the full list of
11
9
* contributors, visit https://github.com/PHPOffice/PHPWord/contributors.
12
10
*
13
11
* @see https://github.com/PHPOffice/PHPWord
14
- *
15
12
* @license http://www.gnu.org/licenses/lgpl.txt LGPL version 3
16
13
*/
17
14
@@ -28,12 +25,11 @@ class TextBox extends Frame
28
25
{
29
26
/**
30
27
* Writer inner margin.
31
- * @return void
32
28
*/
33
29
public function writeInnerMargin (): void
34
30
{
35
31
$ style = $ this ->getStyle ();
36
- if (!$ style instanceof TextBoxStyle || !$ style ->hasInnerMargins ()) {
32
+ if (! $ style instanceof TextBoxStyle || ! $ style ->hasInnerMargins ()) {
37
33
return ;
38
34
}
39
35
@@ -45,12 +41,11 @@ public function writeInnerMargin(): void
45
41
46
42
/**
47
43
* Writer border.
48
- * @return void
49
44
*/
50
45
public function writeBorder (): void
51
46
{
52
47
$ style = $ this ->getStyle ();
53
- if (!$ style instanceof TextBoxStyle) {
48
+ if (! $ style instanceof TextBoxStyle) {
54
49
return ;
55
50
}
56
51
$ xmlWriter = $ this ->getXmlWriter ();
You can’t perform that action at this time.
0 commit comments