Skip to content

Commit 94e0f5c

Browse files
dbuStyleCIBot
authored andcommitted
Apply fixes from StyleCI
[ci skip] [skip ci]
1 parent fb2284c commit 94e0f5c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/Doctrine/Phpcr/RedirectRoute.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ public function getParentDocument()
9898
*/
9999
public function setParent($parent)
100100
{
101-
@trigger_error('The '.__METHOD__.'() method is deprecated and will be removed in version 3.0. Use setParentDocument() instead.', E_USER_DEPRECATED);
101+
@trigger_error('The '.__METHOD__.'() method is deprecated and will be removed in version 3.0. Use setParentDocument() instead.', \E_USER_DEPRECATED);
102102

103103
return $this->setParentDocument($parent);
104104
}
@@ -109,7 +109,7 @@ public function setParent($parent)
109109
*/
110110
public function getParent()
111111
{
112-
@trigger_error('The '.__METHOD__.'() method is deprecated and will be removed in version 3.0. Use getParentDocument() instead.', E_USER_DEPRECATED);
112+
@trigger_error('The '.__METHOD__.'() method is deprecated and will be removed in version 3.0. Use getParentDocument() instead.', \E_USER_DEPRECATED);
113113

114114
return $this->getParentDocument();
115115
}

src/Doctrine/Phpcr/Route.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ public function getParentDocument()
110110
*/
111111
public function setParent($parent)
112112
{
113-
@trigger_error('The '.__METHOD__.'() method is deprecated and will be removed in version 3.0. Use setParentDocument() instead.', E_USER_DEPRECATED);
113+
@trigger_error('The '.__METHOD__.'() method is deprecated and will be removed in version 3.0. Use setParentDocument() instead.', \E_USER_DEPRECATED);
114114

115115
return $this->setParentDocument($parent);
116116
}
@@ -121,7 +121,7 @@ public function setParent($parent)
121121
*/
122122
public function getParent()
123123
{
124-
@trigger_error('The '.__METHOD__.'() method is deprecated and will be removed in version 3.0. Use getParentDocument() instead.', E_USER_DEPRECATED);
124+
@trigger_error('The '.__METHOD__.'() method is deprecated and will be removed in version 3.0. Use getParentDocument() instead.', \E_USER_DEPRECATED);
125125

126126
return $this->getParentDocument();
127127
}

0 commit comments

Comments
 (0)