Skip to content

Commit 65bab52

Browse files
marcreichelpronskiy
authored andcommitted
fix wrong Deprecated attribute docblock
1 parent 45d6bef commit 65bab52

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Deprecated.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class Deprecated {
3434
* <li>%class%: If the attribute is provided for method "m", then for "$this->f()->m()", %class% will be "$this->f()"</li>
3535
* </ul>
3636
* The following example shows how to wrap a function call in another call and swap arguments:<br />
37-
* "#[Deprecated(replaceWith: "wrappedCall(%name%(%parameter1%, %parameter0%))")] f($a, $b){}<br />
37+
* "#[Deprecated(replacement: "wrappedCall(%name%(%parameter1%, %parameter0%))")] f($a, $b){}<br />
3838
* f(1,2) will be replaced with wrappedCall(f(2,1))
3939
* @param string $since Element is deprecated starting with the provided PHP language level, applicable only for PhpStorm stubs entries
4040
*/

0 commit comments

Comments
 (0)