Skip to content

Commit

Permalink
Merge pull request #221 from guanguans/dependabot/github_actions/truf…
Browse files Browse the repository at this point in the history
…flesecurity/trufflehog-3.84.0

chore(deps): bump trufflesecurity/trufflehog from 3.83.7 to 3.84.0
  • Loading branch information
github-actions[bot] authored and ityaozm@gmail.com committed Nov 22, 2024
2 parents 8c9e609 + c0d5ef0 commit 5e9a1d0
Show file tree
Hide file tree
Showing 3 changed files with 168 additions and 80 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/secret-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
# ref: ${{ github.ref_name }}
fetch-depth: 0
- name: TruffleHog OSS
uses: trufflesecurity/trufflehog@v3.83.7
uses: trufflesecurity/trufflehog@v3.84.0
with:
# path: ./
# base: ${{ github.event.repository.default_branch }}
Expand Down
10 changes: 4 additions & 6 deletions app/Macros/CollectionMacro.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,14 @@ class CollectionMacro
/**
* @noinspection JsonEncodingApiUsageInspection
* @noinspection PhpMethodParametersCountMismatchInspection
*
* @psalm-suppress UnusedClosureParam
* @psalm-suppress TooManyArguments
*/
public static function json(): callable
{
return static function (string $json, int $depth = 512, int $options = 0): self {
return new static(json_decode(
$json,
true,
$depth,
$options
));
return new static(json_decode($json, true, $depth, $options));
};
}
}
Loading

0 comments on commit 5e9a1d0

Please sign in to comment.