remove Interface-Suffix

This commit is contained in:
Dominik Liebler
2019-08-19 16:50:40 +02:00
parent db3032cd48
commit 132de8e34e
8 changed files with 20 additions and 59 deletions

View File

@@ -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;
}