File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -136,7 +136,8 @@ public static function html2plaintext(string $html): string
136
136
* @param string $html
137
137
* @param int|float $widthFactor
138
138
* @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
140
141
*/
141
142
public static function resizeStyles (string $ html , $ widthFactor = 1 , $ heightFactor = 1 ): string
142
143
{
@@ -199,8 +200,7 @@ public static function getCleanedHtml(
199
200
bool $ allowVideo = false ,
200
201
bool $ escapeDoubleQuotes = false ,
201
202
?array $ allowedUriSchemes = null
202
- ): string
203
- {
203
+ ): string {
204
204
$ config = HTMLPurifier_Config::createDefault ();
205
205
206
206
if ($ enableTargetBlank ) {
Original file line number Diff line number Diff line change @@ -319,7 +319,7 @@ public static function getPhpDocDescriptionOfControllerAction(
319
319
$ commentBlocks = \explode ('/** ' , $ codeBeforeActionDeclaration );
320
320
$ phpDocOfAction = \array_pop ($ commentBlocks );
321
321
322
- if (null === $ phpDocOfAction ) {
322
+ if (empty ( $ phpDocOfAction) ) {
323
323
return '' ;
324
324
}
325
325
You can’t perform that action at this time.
0 commit comments