Skip to content

Commit 289fc0d

Browse files
committed
Improve deprecation notice (__METHOD__ already includes FQCN)
1 parent e2122f2 commit 289fc0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DynamicRouter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ public function supports($name)
215215
*/
216216
public function match($pathinfo)
217217
{
218-
@trigger_error(__CLASS__.'::'.__METHOD__.'() is deprecated since version 1.3 and will be removed in 2.0. Use matchRequest() instead.', E_USER_DEPRECATED);
218+
@trigger_error(__METHOD__.'() is deprecated since version 1.3 and will be removed in 2.0. Use matchRequest() instead.', E_USER_DEPRECATED);
219219

220220
$request = Request::create($pathinfo);
221221
if ($this->eventDispatcher) {

0 commit comments

Comments
 (0)