E577 review · symfony/symfony@cb48949 · GitHub
[go: up one dir, main page]

Skip to content

Commit cb48949

Browse files
committed
review
1 parent 005cbb0 commit cb48949

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Symfony/Component/Serializer/Encoder/XmlEncoder.php

Lines changed: 4 additions & 4 deletions
< 7F2D tr class="diff-line-row">
Original file line numberDiff line numberDiff line change
@@ -206,27 +206,27 @@ public function supportsDecoding($format)
206206
/**
207207
* Sets the root node name.
208208
*
209-
* @deprecated
209+
* @deprecated since Symfony 4.2
210210
*
211211
* @param string $name Root node name
212212
*/
213213
public function setRootNodeName($name)
214214
{
215-
@trigger_error(sprintf('The "%s()" method is deprecated since Symfony 4.1, use the context instead.', __METHOD__), E_USER_DEPRECATED);
215+
@trigger_error(sprintf('The "%s()" method is deprecated since Symfony 4.2, use the context instead.', __METHOD__), E_USER_DEPRECATED);
216216

217217
$this->defaultContext[self::ROOT_NODE_NAME] = $name;
218218
}
219219

220220
/**
221221
* Returns the root node name.
222222
*
223-
* @deprecated
223+
* @deprecated since Symfony 4.2
224224
*
225225
* @return string
226226
*/
227227
public function getRootNodeName()
228228
{
229-
@trigger_error(sprintf('The "%s()" method is deprecated since Symfony 4.1, use the context instead.', __METHOD__), E_USER_DEPRECATED);
229+
@trigger_error(sprintf('The "%s()" method is deprecated since Symfony 4.2, use the context instead.', __METHOD__), E_USER_DEPRECATED);
230230

231231
return $this->defaultContext[self::ROOT_NODE_NAME];
232232
}

0 commit comments

Comments
 (0)
0