Skip to content

Commit addd648

Browse files
committed
Move desc to property
1 parent 52f8659 commit addd648

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

Diff for: src/config/GeneralConfig.php

+10-10
Original file line numberDiff line numberDiff line change
@@ -2555,6 +2555,16 @@ class GeneralConfig extends BaseConfig
25552555
* ```
25562556
* :::
25572557
*
2558+
* Alternatively, this maybe set to a closure that accepts a [[\enshrined\svgSanitize\Sanitizer]] instance and returns
2559+
* a [[\enshrined\svgSanitize\Sanitizer]] instance further customization.
2560+
*
2561+
* ```php
2562+
* ->sanitizeSvgUploads(function(\enshrined\svgSanitize\Sanitizer $sanitizer): \enshrined\svgSanitize\Sanitizer {
2563+
* $sanitizer->removeRemoteReferences(true);
2564+
* return $sanitizer;
2565+
* })
2566+
* ```
2567+
*
25582568
* @group Security
25592569
*/
25602570
public bool|Closure $sanitizeSvgUploads = true;
@@ -5953,16 +5963,6 @@ public function sameSiteCookieValue(?string $value): self
59535963
* ->sanitizeSvgUploads(false)
59545964
* ```
59555965
*
5956-
* Alternatively, this maybe set to a closure that accepts a [[\enshrined\svgSanitize\Sanitizer]] instance and returns
5957-
* a [[\enshrined\svgSanitize\Sanitizer]] instance further customization.
5958-
*
5959-
* ```php
5960-
* ->sanitizeSvgUploads(function(\enshrined\svgSanitize\Sanitizer $sanitizer): \enshrined\svgSanitize\Sanitizer {
5961-
* $sanitizer->removeRemoteReferences(true);
5962-
* return $sanitizer;
5963-
* })
5964-
* ```
5965-
*
59665966
* @group Security
59675967
* @param bool|Closure(Sanitizer):Sanitizer $value
59685968
* @return self

0 commit comments

Comments
 (0)