Skip to content

Commit d13915c

Browse files
authored
Merge pull request #15 from kswilliames/main
add support for serializable config
2 parents 4c917fb + 7418d20 commit d13915c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Diff for: composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"illuminate/support": "^7.0|^8.0|^9.0|^10.0"
2424
},
2525
"require-dev": {
26-
"orchestra/testbench": "^6.12",
26+
"orchestra/testbench": "^6.12|^7.0|^8.0",
2727
"phpunit/phpunit": "^8.0 || ^9.0",
2828
"spatie/phpunit-snapshot-assertions": "^4.2"
2929
},

Diff for: src/Console/DumpDatabaseCommand.php

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ class DumpDatabaseCommand extends Command
1414
public function handle()
1515
{
1616
$definition = config('masked-dump.' . $this->option('definition'));
17+
$definition = is_callable($definition) ? call_user_func($definition) : $definition;
1718
$definition->load();
1819

1920
$this->info('Starting Database dump');

0 commit comments

Comments
 (0)