mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-08-06 15:06:31 +02:00
remove Interface-Suffix
This commit is contained in:
@@ -3,17 +3,17 @@ declare(strict_types=1);
|
||||
|
||||
namespace DesignPatterns\Behavioral\Specification;
|
||||
|
||||
class AndSpecification implements SpecificationInterface
|
||||
class AndSpecification implements Specification
|
||||
{
|
||||
/**
|
||||
* @var SpecificationInterface[]
|
||||
* @var Specification[]
|
||||
*/
|
||||
private $specifications;
|
||||
|
||||
/**
|
||||
* @param SpecificationInterface[] ...$specifications
|
||||
* @param Specification[] ...$specifications
|
||||
*/
|
||||
public function __construct(SpecificationInterface ...$specifications)
|
||||
public function __construct(Specification ...$specifications)
|
||||
{
|
||||
$this->specifications = $specifications;
|
||||
}
|
||||
|
Reference in New Issue
Block a user