Removed @return void as not compatible with projects coding standard.
This commit is contained in:
parent
a215501cc9
commit
050802bdb5
@ -25,8 +25,6 @@ class TextBox extends Image
|
||||
{
|
||||
/**
|
||||
* Write element.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function write(): void
|
||||
{
|
||||
|
||||
@ -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();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user