Skip to content

Commit 2adaf50

Browse files
authored
Merge pull request #15 from ensi-platform/ensitech-273
ENSITECH-273 /run-tests.yml php 8.4
2 parents 0a4ad3b + 2225690 commit 2adaf50

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/run-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
strategy:
1313
fail-fast: true
1414
matrix:
15-
php: [8.1, 8.2, 8.3]
15+
php: [8.1, 8.2, 8.3, 8.4]
1616
laravel: [9.*, 10.*, 11.*]
1717
exclude:
1818
- laravel: 11.*

src/Events/Audited.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class Audited
3636
* @param \Ensi\LaravelAuditing\Contracts\AuditDriver $driver
3737
* @param \Ensi\LaravelAuditing\Contracts\Audit $audit
3838
*/
39-
public function __construct(Auditable $model, AuditDriver $driver, Audit $audit = null)
39+
public function __construct(Auditable $model, AuditDriver $driver, ?Audit $audit = null)
4040
{
4141
$this->model = $model;
4242
$this->driver = $driver;

src/Exceptions/AuditableTransitionException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class AuditableTransitionException extends AuditingException
1616
/**
1717
* {@inheritdoc}
1818
*/
19-
public function __construct($message = '', array $incompatibilities = [], $code = 0, Throwable $previous = null)
19+
public function __construct($message = '', array $incompatibilities = [], $code = 0, ?Throwable $previous = null)
2020
{
2121
parent::__construct($message, $code, $previous);
2222

0 commit comments

Comments
 (0)