Commit 43dc075
Remove unnecessary
`discardableResult` is unnecessary when we have a returned result which we expect to use.
Where we `return self`, the result `self` isn’t used directly, but staying on the screen allows us to chain methods. So `discardableResult` is used to suppress the warning.
Co-Authored-By: Evgeny Aleksandrov <[email protected]>discardableResults from SingleOrderScreen1 parent 7e10e46 commit 43dc075
File tree
1 file changed
+0
-3
lines changed- WooCommerce/UITestsFoundation/Screens/Orders
1 file changed
+0
-3
lines changedLines changed: 0 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
62 | 61 | | |
63 | 62 | | |
64 | 63 | | |
| |||
68 | 67 | | |
69 | 68 | | |
70 | 69 | | |
71 | | - | |
72 | 70 | | |
73 | 71 | | |
74 | 72 | | |
| |||
77 | 75 | | |
78 | 76 | | |
79 | 77 | | |
80 | | - | |
81 | 78 | | |
82 | 79 | | |
83 | 80 | | |
| |||
0 commit comments