Skip to content

Commit c650a7e

Browse files
author
kay.stenschke
committed
formal correction after CI inspections
1 parent e71de47 commit c650a7e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/Gyselroth/Helper/HelperHtml.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,8 @@ public static function html2plaintext(string $html): string
136136
* @param string $html
137137
* @param int|float $widthFactor
138138
* @param int|float $heightFactor
139-
* @return string Given HTML w/ inline style like "width:(\d)+px" and "height:(\d)+px" multiplied by given factors
139+
* @return string Given HTML w/ inline style like
140+
* "width:(\d)+px" and "height:(\d)+px" multiplied by given factors
140141
*/
141142
public static function resizeStyles(string $html, $widthFactor = 1, $heightFactor = 1): string
142143
{
@@ -199,8 +200,7 @@ public static function getCleanedHtml(
199200
bool $allowVideo = false,
200201
bool $escapeDoubleQuotes = false,
201202
?array $allowedUriSchemes = null
202-
): string
203-
{
203+
): string {
204204
$config = HTMLPurifier_Config::createDefault();
205205

206206
if ($enableTargetBlank) {

src/Gyselroth/Helper/HelperReflection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ public static function getPhpDocDescriptionOfControllerAction(
319319
$commentBlocks = \explode('/**', $codeBeforeActionDeclaration);
320320
$phpDocOfAction = \array_pop($commentBlocks);
321321

322-
if (null === $phpDocOfAction) {
322+
if (empty($phpDocOfAction)) {
323323
return '';
324324
}
325325

0 commit comments

Comments
 (0)