Code Duplication    Length = 3-3 lines in 2 locations

src/Callbacks/ArrayValidatorCallback.php 2 locations

@@ 129-131 (lines=3) @@
126
            }
127
128
            // z2: value MUST NOT be empty in the main row
129
            if ($this->nullable === false && $this->mainRowOnly === true) {
130
                return $this->isMainRow() ? false : true;
131
            }
132
133
            // z4: value can ONLY be empty in the main row
134
            if ($this->nullable === true && $this->mainRowOnly === true) {
@@ 134-136 (lines=3) @@
131
            }
132
133
            // z4: value can ONLY be empty in the main row
134
            if ($this->nullable === true && $this->mainRowOnly === true) {
135
                return $this->isMainRow() ? true : false;
136
            }
137
        }
138
139
        // if not, return TRUE immediately