Skip to content

Commit

Permalink
CS fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
smnandre committed Jan 5, 2025
1 parent 1814b5c commit 6066161
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Lexer.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class Lexer
(?<DNUM>(?&LNUM)(?:(?&FRAC))?) # Decimal number 123_456.456
)(?:(?&DNUM)(?:(?&EXPONENT))?) # 123_456.456E+10
/Ax';

public const REGEX_DQ_STRING_DELIM = '/"/A';
public const REGEX_DQ_STRING_PART = '/[^#"\\\\]*(?:(?:\\\\.|#(?!\{))[^#"\\\\]*)*/As';
public const REGEX_INLINE_COMMENT = '/#[^\n]*/A';
Expand Down
4 changes: 2 additions & 2 deletions src/Runtime/EscaperRuntime.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ public function setSafeClasses(array $safeClasses = [])
/**
* @param class-string<\Stringable> $class
* @param string[] $strategies
*
* @return void
*
* @return void
*/
public function addSafeClass(string $class, array $strategies)
{
Expand Down

0 comments on commit 6066161

Please sign in to comment.