Skip to content

Commit

Permalink
Merge pull request #1774 from dpfaffenbauer/issues/psalm
Browse files Browse the repository at this point in the history
  • Loading branch information
dpfaffenbauer authored Nov 9, 2021
2 parents de4758d + 58959f6 commit eddea3f
Show file tree
Hide file tree
Showing 10 changed files with 0 additions and 33 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,6 @@ class AddMultipleToCartFactory implements AddMultipleToCartFactoryInterface
* @psalm-param class-string $addMultipleToCartClass
*/
public function __construct(
/**
* @psalm-var class-string
*/
protected string $addMultipleToCartClass
) {
}
Expand Down
3 changes: 0 additions & 3 deletions src/CoreShop/Bundle/OrderBundle/Factory/AddToCartFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,6 @@ class AddToCartFactory implements AddToCartFactoryInterface
* @psalm-param class-string $addToCartClass
*/
public function __construct(
/**
* @psalm-var class-string
*/
protected string $addToCartClass
) {
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,6 @@ final class SimpleStateChecker extends AbstractConditionChecker
* @psalm-param class-string $interface
*/
public function __construct(
/**
* @psalm-var class-string
*/
private string $interface,
private string $stateField,
private string $configurationField
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@ final class StateTransitionChecker extends AbstractConditionChecker
* @psalm-param class-string $interface
*/
public function __construct(
/**
* @psalm-var class-string
*/
private string $interface,
private string $workflowName
) {
Expand Down
3 changes: 0 additions & 3 deletions src/CoreShop/Component/Resource/Factory/Factory.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@ final class Factory implements FactoryInterface
* @psalm-param class-string $className
*/
public function __construct(
/**
* @psalm-var class-string
*/
private string $className
) {
}
Expand Down
3 changes: 0 additions & 3 deletions src/CoreShop/Component/Resource/Factory/PimcoreFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@ final class PimcoreFactory implements FactoryInterface, PimcoreFactoryInterface
* @psalm-param class-string $className
*/
public function __construct(
/**
* @psalm-var class-string
*/
private string $className
) {
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,6 @@ class PimcoreRepositoryFactory implements RepositoryFactoryInterface
* @psalm-param class-string $repositoryClassName
*/
public function __construct(
/**
* @psalm-var class-string
*/
private string $repositoryClassName,
private MetadataInterface $metadata,
private Connection $connection
Expand Down
6 changes: 0 additions & 6 deletions src/CoreShop/Component/Resource/Factory/RepositoryFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,7 @@ class RepositoryFactory implements RepositoryFactoryInterface
* @psalm-param class-string $repositoryClassName
*/
public function __construct(
/**
* @psalm-var class-string
*/
private string $className,
/**
* @psalm-var class-string
*/
private string $repositoryClassName
) {
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@ class ResourceDocumentTagFactory implements DocumentTagFactoryInterface
* @psalm-param class-string $class
*/
public function __construct(
/**
* @psalm-var class-string
*/
private string $class,
private string $repositoryName,
private string $nameProperty
Expand Down
3 changes: 0 additions & 3 deletions src/CoreShop/Component/Sequence/Factory/SequenceFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@ class SequenceFactory implements SequenceFactoryInterface
* @psalm-param class-string $className
*/
public function __construct(
/**
* @psalm-var class-string
*/
private string $className
) {
}
Expand Down

0 comments on commit eddea3f

Please sign in to comment.