Skip to content

Commit

Permalink
Add proper types for configurable bundle extension
Browse files Browse the repository at this point in the history
  • Loading branch information
apfelbox committed Jun 25, 2024
1 parent b792b1c commit 2c8c885
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
2.3.0
=====

* (feature) Add proper types for configurable bundle extension.
* (internal) Update CI.


2.2.0
=====

Expand Down
3 changes: 2 additions & 1 deletion src/Bundle/ConfigurableBundleExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,11 @@ class ConfigurableBundleExtension extends BundleExtension
{
private ConfigurationInterface $config;

/** @var callable */
/** @var callable(array, ContainerBuilder): void */
private $callback;

/**
* @param callable(array, ContainerBuilder): void $callback
*/
public function __construct (
BundleInterface $bundle,
Expand Down

0 comments on commit 2c8c885

Please sign in to comment.