File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -378,17 +378,17 @@ public function orNotNull($value)
378378 #endregion
379379
380380 #region HasValue (NOT NULL but better negation readability)
381- public function hasValue ($ value , $ negated = false , $ connector = LogicConnectors::AND )
381+ public function hasValue ($ value , $ hasValue = true , $ connector = LogicConnectors::AND )
382382 {
383- return $ this ->null ($ value , ! $ negated , $ connector );
383+ return $ this ->null ($ value , $ hasValue , $ connector );
384384 }
385- public function andHasValue ($ value )
385+ public function andHasValue ($ value, $ hasValue = true )
386386 {
387- return $ this ->hasValue ($ value );
387+ return $ this ->hasValue ($ value, $ hasValue );
388388 }
389- public function orHasValue ($ value )
389+ public function orHasValue ($ value, $ hasValue = true )
390390 {
391- return $ this ->hasValue ($ value , false , LogicConnectors::OR );
391+ return $ this ->hasValue ($ value , $ hasValue , LogicConnectors::OR );
392392 }
393393 #endregion
394394
You can’t perform that action at this time.
0 commit comments