mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-16 14:33:14 +00:00
Fix CS
This commit is contained in:
@@ -17,22 +17,20 @@
|
||||
*/
|
||||
class Setup_ConstraintsIterator implements IteratorAggregate
|
||||
{
|
||||
protected $constraints = array();
|
||||
|
||||
protected $constraints = array();
|
||||
public function __construct(Array $constraints)
|
||||
{
|
||||
$this->constraints = $constraints;
|
||||
}
|
||||
|
||||
public function __construct(Array $constraints)
|
||||
{
|
||||
$this->constraints = $constraints;
|
||||
}
|
||||
|
||||
public function add(Setup_Constraint $constraint)
|
||||
{
|
||||
$this->constraints[] = $constraint;
|
||||
}
|
||||
|
||||
public function getIterator()
|
||||
{
|
||||
return new ArrayIterator($this->constraints);
|
||||
}
|
||||
public function add(Setup_Constraint $constraint)
|
||||
{
|
||||
$this->constraints[] = $constraint;
|
||||
}
|
||||
|
||||
public function getIterator()
|
||||
{
|
||||
return new ArrayIterator($this->constraints);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user