You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 19, 2024. It is now read-only.
Copy file name to clipboardexpand all lines: guides/v2.1/contributor-guide/backward-compatible-development/index.md
+14
Original file line number
Diff line number
Diff line change
@@ -189,6 +189,20 @@ Do not remove or rename {% glossarytooltip c57aef7c-97b4-4b2b-a999-8001accef1fe
189
189
Do not change argument types.
190
190
Instead of changing argument name or type, introduce new event argument with new name or type and deprecate the old argument by adding `@deprecated` annotation before dispatching the event.
191
191
192
+
Example code:
193
+
194
+
```php?start_inline=1
195
+
$transportObject = new DataObject($transport);
196
+
197
+
/**
198
+
* Event argument `transport` is @deprecated. Use `transport_object` instead.
0 commit comments