Skip to content

Commit

Permalink
Support sf7
Browse files Browse the repository at this point in the history
  • Loading branch information
veewee committed Nov 24, 2023
1 parent a9cad9a commit 0767abb
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
20 changes: 10 additions & 10 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,16 @@
"ondram/ci-detector": "^4.0",
"psr/container": "^1.1 || ^2.0",
"seld/jsonlint": "^1.8",
"symfony/config": "^5.4 || ^6.0",
"symfony/console": "^5.4 || ^6.0",
"symfony/dependency-injection": "^5.4 || ^6.0",
"symfony/dotenv": "^5.4 || ^6.0",
"symfony/event-dispatcher": "^5.4 || ^6.0",
"symfony/filesystem": "^5.4 || ^6.0",
"symfony/finder": "^5.4 || ^6.0",
"symfony/options-resolver": "^5.4 || ^6.0",
"symfony/process": "^5.4 || ^6.0",
"symfony/yaml": "^5.4 || ^6.0"
"symfony/config": "^5.4 || ^6.0 || ^7.0",
"symfony/console": "^5.4 || ^6.0 || ^7.0",
"symfony/dependency-injection": "^5.4 || ^6.0 || ^7.0",
"symfony/dotenv": "^5.4 || ^6.0 || ^7.0",
"symfony/event-dispatcher": "^5.4 || ^6.0 || ^7.0",
"symfony/filesystem": "^5.4 || ^6.0 || ^7.0",
"symfony/finder": "^5.4 || ^6.0 || ^7.0",
"symfony/options-resolver": "^5.4 || ^6.0 || ^7.0",
"symfony/process": "^5.4 || ^6.0 || ^7.0",
"symfony/yaml": "^5.4 || ^6.0 || ^7.0"
},
"require-dev": {
"brianium/paratest": "^6.4",
Expand Down
4 changes: 2 additions & 2 deletions src/Configuration/Loader/DistFileLoader.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ public function __construct(LoaderInterface $loader)
$this->loader = $loader;
}

public function load(mixed $resource, string $type = null): void
public function load(mixed $resource, string $type = null): mixed
{
$this->loader->load($resource, $type);
return $this->loader->load($resource, $type);
}

public function supports(mixed $resource, string $type = null): bool
Expand Down

0 comments on commit 0767abb

Please sign in to comment.