Skip to content

Commit e39cf68

Browse files
Merge branch '5.3' into 5.4
* 5.3: [Process] intersect with getenv() in case-insensitive manner to get default envs [Serializer] fix support for lazy/unset properties Fix redundant type casts [Notifier] Fix AllMySms bridge body content Revert "[DoctrineBridge] add support for the JSON type"
2 parents b719358 + 7840d56 commit e39cf68

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Resource/ClassExistenceResource.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public function __construct(string $resource, bool $exists = null)
3838
{
3939
$this->resource = $resource;
4040
if (null !== $exists) {
41-
$this->exists = [(bool) $exists, null];
41+
$this->exists = [$exists, null];
4242
}
4343
}
4444

Util/XmlUtils.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -239,12 +239,12 @@ public static function phpize($value)
239239
$raw = $value;
240240
$cast = (int) $value;
241241

242-
return '0' == $value[0] ? octdec($value) : (((string) $raw === (string) $cast) ? $cast : $raw);
242+
return '0' == $value[0] ? octdec($value) : (($raw === (string) $cast) ? $cast : $raw);
243243
case isset($value[1]) && '-' === $value[0] && ctype_digit(substr($value, 1)):
244244
$raw = $value;
245245
$cast = (int) $value;
246246

247-
return '0' == $value[1] ? octdec($value) : (((string) $raw === (string) $cast) ? $cast : $raw);
247+
return '0' == $value[1] ? octdec($value) : (($raw === (string) $cast) ? $cast : $raw);
248248
case 'true' === $lowercaseValue:
249249
return true;
250250
case 'false' === $lowercaseValue:

0 commit comments

Comments
 (0)