mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-02-24 01:32:22 +01:00
fix typo
This commit is contained in:
parent
30dd20d6c7
commit
8321d06e9f
@ -2,7 +2,7 @@
|
||||
namespace DesignPatterns\Specification;
|
||||
|
||||
/**
|
||||
* A logical AND specification
|
||||
* A logical OR specification
|
||||
*/
|
||||
class Either extends AbstractSpecification
|
||||
{
|
||||
@ -24,7 +24,7 @@ class Either extends AbstractSpecification
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the evaluation of both wrapped specifications as a logical AND
|
||||
* Returns the evaluation of both wrapped specifications as a logical OR
|
||||
*
|
||||
* @param Item $item
|
||||
*
|
||||
@ -34,4 +34,4 @@ class Either extends AbstractSpecification
|
||||
{
|
||||
return $this->left->isSatisfiedBy($item) || $this->right->isSatisfiedBy($item);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user