We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d146c7b commit bdc515dCopy full SHA for bdc515d
Magento/Mtf/Util/Filter/VariationName.php
@@ -26,7 +26,7 @@ class VariationName extends AbstractFilter implements FilterInterface
26
*/
27
public function apply($subject)
28
{
29
- if (isset($this->allow)) {
+ if ($this->allow) {
30
foreach ($this->allow as $allow) {
31
if ($allow['value'] == $subject) {
32
return true;
@@ -35,7 +35,7 @@ public function apply($subject)
35
36
return false;
37
}
38
- if (isset($this->deny)) {
+ if ($this->deny) {
39
foreach ($this->deny as $deny) {
40
if ($deny['value'] == $subject) {
41
0 commit comments