projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Security update for Core, with self-updated composer
[yaffs-website]
/
vendor
/
symfony
/
config
/
Definition
/
Builder
/
ExprBuilder.php
diff --git
a/vendor/symfony/config/Definition/Builder/ExprBuilder.php
b/vendor/symfony/config/Definition/Builder/ExprBuilder.php
index 10112a813df7a0df9bd07422d998fbd67392d3fe..150a2ec9ab3a3d58651138e3324c50ba8e7eebc1 100644
(file)
--- a/
vendor/symfony/config/Definition/Builder/ExprBuilder.php
+++ b/
vendor/symfony/config/Definition/Builder/ExprBuilder.php
@@
-97,6
+97,18
@@
class ExprBuilder
return $this;
}
+ /**
+ * Tests if the value is empty.
+ *
+ * @return ExprBuilder
+ */
+ public function ifEmpty()
+ {
+ $this->ifPart = function ($v) { return empty($v); };
+
+ return $this;
+ }
+
/**
* Tests if the value is an array.
*