We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4c917fb + 7418d20 commit d13915cCopy full SHA for d13915c
composer.json
@@ -23,7 +23,7 @@
23
"illuminate/support": "^7.0|^8.0|^9.0|^10.0"
24
},
25
"require-dev": {
26
- "orchestra/testbench": "^6.12",
+ "orchestra/testbench": "^6.12|^7.0|^8.0",
27
"phpunit/phpunit": "^8.0 || ^9.0",
28
"spatie/phpunit-snapshot-assertions": "^4.2"
29
src/Console/DumpDatabaseCommand.php
@@ -14,6 +14,7 @@ class DumpDatabaseCommand extends Command
14
public function handle()
15
{
16
$definition = config('masked-dump.' . $this->option('definition'));
17
+ $definition = is_callable($definition) ? call_user_func($definition) : $definition;
18
$definition->load();
19
20
$this->info('Starting Database dump');
0 commit comments