Commit 107a3f7
authored
[PayPalClient + PayPalClientInterface] Explicit nullable type to remove deprecated log message (#358)
[PayPalClient + PayPalClientInterface] Fix deprecated message by
explicitly defining $data as a nullable array in functions post()
patch() and request().
> Deprecated: Sylius\PayPalPlugin\Client\PayPalClientInterface::post():
Implicitly marking parameter $data as nullable is deprecated, the
explicit nullable type must be used instead
>
> Deprecated: Sylius\PayPalPlugin\Client\PayPalClientInterface::patch():
Implicitly marking parameter $data as nullable is deprecated, the
explicit nullable type must be used instead
>
> Deprecated: Sylius\PayPalPlugin\Client\PayPalClient::post():
Implicitly marking parameter $data as nullable is deprecated, the
explicit nullable type must be used instead
>
> Deprecated: Sylius\PayPalPlugin\Client\PayPalClient::patch():
Implicitly marking parameter $data as nullable is deprecated, the
explicit nullable type must be used instead
>
> Deprecated: Sylius\PayPalPlugin\Client\PayPalClient::request():
Implicitly marking parameter $data as nullable is deprecated, the
explicit nullable type must be used instead
| Q | A
| --------------- | -----
| Branch? | 2.0
| Bug fix? | no
| New feature? | no
| Related tickets | none2 files changed
+5
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
| 69 | + | |
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
| 76 | + | |
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
| 81 | + | |
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
0 commit comments