Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
medilies authored and github-actions[bot] committed Aug 13, 2024
1 parent 47f75e4 commit f0d94a1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions src/Dompurify/DompurifyCliConfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@ public function getClass(): string
/**
* Must be implemented for Laravel config cache
*/
public static function __set_state(array $state_array): static
{
return new static(...array_intersect_key($state_array, [
public static function __set_state(array $state_array): static

Check failure on line 28 in src/Dompurify/DompurifyCliConfig.php

View workflow job for this annotation

GitHub Actions / phpstan

Method Medilies\Xssless\Dompurify\DompurifyCliConfig::__set_state() has parameter $state_array with no value type specified in iterable type array.
{
return new static(...array_intersect_key($state_array, [

Check failure on line 30 in src/Dompurify/DompurifyCliConfig.php

View workflow job for this annotation

GitHub Actions / phpstan

Unsafe usage of new static().
'node' => true,
'npm' => true,
'binary' => true,
'tempFolder' => true,
]));
}
}
}
6 changes: 3 additions & 3 deletions src/Dompurify/DompurifyServiceConfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@ public function getClass(): string
* Must be implemented for Laravel config cache
*/
public static function __set_state(array $state_array): static

Check failure on line 30 in src/Dompurify/DompurifyServiceConfig.php

View workflow job for this annotation

GitHub Actions / phpstan

Method Medilies\Xssless\Dompurify\DompurifyServiceConfig::__set_state() has parameter $state_array with no value type specified in iterable type array.
{
return new static(...array_intersect_key($state_array, [
{
return new static(...array_intersect_key($state_array, [

Check failure on line 32 in src/Dompurify/DompurifyServiceConfig.php

View workflow job for this annotation

GitHub Actions / phpstan

Unsafe usage of new static().
'node' => true,
'npm' => true,
'host' => true,
'port' => true,
'binary' => true,
]));
}
}
}

0 comments on commit f0d94a1

Please sign in to comment.