Skip to content

Commit

Permalink
Move desc to property
Browse files Browse the repository at this point in the history
  • Loading branch information
timkelty committed Mar 18, 2024
1 parent bbcd48b commit 2dbce3e
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions src/config/GeneralConfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -2555,6 +2555,16 @@ class GeneralConfig extends BaseConfig
* ```
* :::
*
* Alternatively, this maybe set to a closure that accepts a [[\enshrined\svgSanitize\Sanitizer]] instance and returns
* a [[\enshrined\svgSanitize\Sanitizer]] instance further customization.
*
* ```php
* ->sanitizeSvgUploads(function(\enshrined\svgSanitize\Sanitizer $sanitizer): \enshrined\svgSanitize\Sanitizer {
* $sanitizer->removeRemoteReferences(true);
* return $sanitizer;
* })
* ```
*
* @group Security
*/
public bool|Closure $sanitizeSvgUploads = true;
Expand Down Expand Up @@ -5953,16 +5963,6 @@ public function sameSiteCookieValue(?string $value): self
* ->sanitizeSvgUploads(false)
* ```
*
* Alternatively, this maybe set to a closure that accepts a [[\enshrined\svgSanitize\Sanitizer]] instance and returns
* a [[\enshrined\svgSanitize\Sanitizer]] instance further customization.
*
* ```php
* ->sanitizeSvgUploads(function(\enshrined\svgSanitize\Sanitizer $sanitizer): \enshrined\svgSanitize\Sanitizer {
* $sanitizer->removeRemoteReferences(true);
* return $sanitizer;
* })
* ```
*
* @group Security
* @param bool|Closure(Sanitizer):Sanitizer $value
* @return self
Expand Down

0 comments on commit 2dbce3e

Please sign in to comment.