Skip to content

Commit

Permalink
Bump laravel/pint from 1.12.0 to 1.13.0 (#205)
Browse files Browse the repository at this point in the history
  • Loading branch information
dependabot[bot] committed Sep 6, 2023
1 parent 5a1951a commit 94b5f90
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/Parser/CommonDetailsNodeParserTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ protected function customAttributes(SimpleXMLElement $element): array
$value = trim((string) $attribute);

// Cast strings to booleans (only needed for single values, as multi-value booleans make no sense).
if ('true' === $value || 'false' === $value) {
$value = ('true' === $value);
if ($value === 'true' || $value === 'false') {
$value = ($value === 'true');
}
}

Expand Down

0 comments on commit 94b5f90

Please sign in to comment.