We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2fc4614 + b2297d7 commit f11906aCopy full SHA for f11906a
1 file changed
src/ContextActivities.php
@@ -62,7 +62,7 @@ public function asVersion($version) {
62
foreach (self::$directProps as $k) {
63
$inner = $this->$k;
64
if (isset($inner) && count($inner) > 0) {
65
- $result = $result || array();
+ $result = $result ?: array();
66
67
$result[$k] = array();
68
0 commit comments