Skip to content

Commit

Permalink
Aktualisiere PHP-CS-Fixer auf v3.62.0 (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
mpdude authored Aug 26, 2024
1 parent 735218d commit 6ed9c8e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/fix-cs-php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
ref: ${{ github.head_ref }}

- name: Run PHP-CS-Fixer
uses: docker://oskarstark/php-cs-fixer-ga:3.11.0
uses: docker://ghcr.io/webfactory/php-cs-fixer:3.62.0

- name: Commit and push back changes
uses: stefanzweifel/git-auto-commit-action@v4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ final class MyLastModifedDeterminator implements LastModifiedDeterminator
/** @var DateTime */
private $lastModified;

public function __construct(DateTime $lastModified = null)
public function __construct(?DateTime $lastModified = null)
{
$this->lastModified = $lastModified ?: DateTime::createFromFormat('U', time());
}
Expand Down

0 comments on commit 6ed9c8e

Please sign in to comment.