Skip to content

Commit 7314bca

Browse files
authored
Merge pull request #56 from cesargb/serializable
refactor: serializable closure
2 parents 56649bb + eed00ef commit 7314bca

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

.github/workflows/tests.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,12 @@ jobs:
1212
strategy:
1313
fail-fast: false
1414
matrix:
15-
php: [7.3, 7.4, 8.0]
15+
php: [7.4, 8.0, 8.1]
1616
laravel: [8.*, 6.*]
1717
dependency-version: [prefer-stable]
18+
exclude:
19+
- php: 8.1
20+
laravel: 6.*
1821
include:
1922
- laravel: 8.*
2023
testbench: 6.*

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@
2020
],
2121
"license": "MIT",
2222
"require": {
23-
"php" : "^7.3 || ^8.0",
23+
"php" : "^7.4 || ^8.0",
2424
"illuminate/auth": "^6.0|^8.0",
2525
"illuminate/container": "^6.0|^8.0",
2626
"illuminate/contracts": "^6.0|^8.0",
2727
"illuminate/database": "^6.0|^8.0",
28-
"opis/closure": "^3.1"
28+
"laravel/serializable-closure": "^1.0"
2929
},
3030
"autoload": {
3131
"psr-4": {

src/Actions/ResponseAction.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
use Closure;
66
use Illuminate\Http\RedirectResponse;
77
use Illuminate\View\View;
8+
use Laravel\SerializableClosure\SerializableClosure;
89
use MagicLink\MagicLink;
9-
use Opis\Closure\SerializableClosure;
1010

1111
class ResponseAction extends ActionAbstract
1212
{

0 commit comments

Comments
 (0)