projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website]
/
vendor
/
symfony
/
serializer
/
Encoder
/
ChainEncoder.php
diff --git
a/vendor/symfony/serializer/Encoder/ChainEncoder.php
b/vendor/symfony/serializer/Encoder/ChainEncoder.php
index cfd8855bb81508a5de5983a78d36c1c5b2db2c95..6e2b85bf27ee3c0224ceca78dbb571434bd78d77 100644
(file)
--- a/
vendor/symfony/serializer/Encoder/ChainEncoder.php
+++ b/
vendor/symfony/serializer/Encoder/ChainEncoder.php
@@
-45,7
+45,7
@@
class ChainEncoder implements EncoderInterface /*, ContextAwareEncoderInterface*
*/
public function supportsEncoding($format/*, array $context = array()*/)
{
*/
public function supportsEncoding($format/*, array $context = array()*/)
{
- $context = func_num_args() > 1 ? func_get_arg(1) : array();
+ $context =
\
func_num_args() > 1 ? func_get_arg(1) : array();
try {
$this->getEncoder($format, $context);
try {
$this->getEncoder($format, $context);
@@
-66,7
+66,7
@@
class ChainEncoder implements EncoderInterface /*, ContextAwareEncoderInterface*
*/
public function needsNormalization($format/*, array $context = array()*/)
{
*/
public function needsNormalization($format/*, array $context = array()*/)
{
- $context = func_num_args() > 1 ? func_get_arg(1) : array();
+ $context =
\
func_num_args() > 1 ? func_get_arg(1) : array();
$encoder = $this->getEncoder($format, $context);
if (!$encoder instanceof NormalizationAwareInterface) {
$encoder = $this->getEncoder($format, $context);
if (!$encoder instanceof NormalizationAwareInterface) {