src/POData/ObjectModel/ObjectModelSerializerBase.php 1 location
|
@@ 243-247 (lines=5) @@
|
240 |
|
$type = $eTagProperty->getInstanceType(); |
241 |
|
assert(!is_null($type) && $type instanceof IType, 'is_null($type) || $type not instanceof IType'); |
242 |
|
$value = $this->getPropertyValue($entryObject, $resourceType, $eTagProperty); |
243 |
|
if (is_null($value)) { |
244 |
|
$eTag = $eTag . $comma . 'null'; |
245 |
|
} else { |
246 |
|
$eTag = $eTag . $comma . $type->convertToOData($value); |
247 |
|
} |
248 |
|
|
249 |
|
$comma = ','; |
250 |
|
} |
src/POData/BaseService.php 1 location
|
@@ 784-788 (lines=5) @@
|
781 |
|
); |
782 |
|
} |
783 |
|
|
784 |
|
if (is_null($value)) { |
785 |
|
$eTag = $eTag . $comma . 'null'; |
786 |
|
} else { |
787 |
|
$eTag = $eTag . $comma . $type->convertToOData($value); |
788 |
|
} |
789 |
|
|
790 |
|
$comma = ','; |
791 |
|
} |