Skip to content

Commit

Permalink
Merge pull request #198 from themehybrid/dev
Browse files Browse the repository at this point in the history
refactor: Add Symfony Console dependency and fix import
  • Loading branch information
saas786 committed Mar 23, 2024
2 parents 5792411 + e28e95b commit ee8d5eb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions composer.json
Expand Up @@ -21,6 +21,7 @@
"require": {
"php": ">=8.0",
"psr/container": "1.0.0",
"symfony/console": "^5.0 || ^6.0",
"symfony/polyfill-php80": "^1.25.0",
"themehybrid/hybrid-contracts": "^2.0",
"themehybrid/hybrid-events": "^1.0",
Expand Down
4 changes: 2 additions & 2 deletions src/Core/DefaultProviders.php
Expand Up @@ -2,6 +2,8 @@

namespace Hybrid\Core;

use function Hybrid\Tools\collect;

class DefaultProviders {

/**
Expand All @@ -27,7 +29,6 @@ public function __construct( ?array $providers = null ) {
/**
* Merge the given providers into the provider collection.
*
* @param array $providers
* @return static
*/
public function merge( array $providers ) {
Expand Down Expand Up @@ -57,7 +58,6 @@ public function replace( array $replacements ) {
/**
* Disable the given providers.
*
* @param array $providers
* @return static
*/
public function except( array $providers ) {
Expand Down

0 comments on commit ee8d5eb

Please sign in to comment.