Skip to content

Commit

Permalink
style: fix annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
bpolaszek committed Nov 17, 2023
1 parent 531faa4 commit b9132c7
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 4 deletions.
3 changes: 3 additions & 0 deletions src/Internal/ConditionalLoaderTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
use BenTools\ETL\Loader\ConditionalLoaderInterface;
use BenTools\ETL\Loader\LoaderInterface;

/**
* @internal
*/
trait ConditionalLoaderTrait
{
private static function shouldLoad(LoaderInterface $loader, mixed $item, EtlState $state): bool
Expand Down
2 changes: 1 addition & 1 deletion src/Internal/DispatchEventsTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
/**
* @internal
*
* @template A
* @template EtlExecutor
*/
trait DispatchEventsTrait
{
Expand Down
5 changes: 3 additions & 2 deletions src/Internal/EtlBuilderTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
namespace BenTools\ETL\Internal;

use BenTools\ETL\EtlConfiguration;
use BenTools\ETL\EtlExecutor;
use BenTools\ETL\Extractor\CallableExtractor;
use BenTools\ETL\Extractor\ChainExtractor;
use BenTools\ETL\Extractor\ExtractorInterface;
Expand All @@ -22,12 +23,12 @@
/**
* @internal
*
* @template T
* @template EtlExecutor
*/
trait EtlBuilderTrait
{
/**
* @use EtlEventListenersTrait<T>
* @use EtlEventListenersTrait<EtlExecutor>
*/
use EtlEventListenersTrait;

Expand Down
2 changes: 1 addition & 1 deletion src/Internal/EtlEventListenersTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
/**
* @internal
*
* @template T
* @template EtlExecutor
*/
trait EtlEventListenersTrait
{
Expand Down
3 changes: 3 additions & 0 deletions src/Internal/StateHolder.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@

use BenTools\ETL\EtlState;

/**
* @internal
*/
final class StateHolder
{
public function __construct(
Expand Down

0 comments on commit b9132c7

Please sign in to comment.