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
Ans since latest release, it want to move inline all our phpdoc
---------- begin diff ----------
--- /var/task/src/Operation/Reception/Domain/ReadModel/GuestInformation.php+++ /var/task/src/Operation/Reception/Domain/ReadModel/GuestInformation.php@@ -9,8 +9,7 @@
public int $nbAdults,
public int $nbChildren,
public int $nbBabies,
- /** @var array<AdditionalGuest> $additionalGuests */ - public array $additionalGuests = [],+ /** @var array<AdditionalGuest> $additionalGuests */ public array $additionalGuests = [],
) {}
public function totalBillableGuests(): int
----------- end diff -----------
I have no value for method_argument_space and I failed to have back the old behavior. Anyone can help ?
The text was updated successfully, but these errors were encountered:
tyx
changed the title
Can no longer use phpdoc multine in constructor with since 2.33
Can no longer use phpdoc multine in constructor with since 2.32.3
Oct 10, 2023
Workaround I found is to use @param above method instead
---------- begin diff ----------
--- /var/task/src/Operation/Reception/Domain/ReadModel/GuestInformation.php+++ /var/task/src/Operation/Reception/Domain/ReadModel/GuestInformation.php@@ -9,8 +9,7 @@+ /** @param array<AdditionalGuest> $additionalGuests */
public function __construct(
public int $nbChildren,
public int $nbBabies,
- /** @var array<AdditionalGuest> $additionalGuests */
public array $additionalGuests = [],
) {}
We use this kind of config :
Ans since latest release, it want to move inline all our phpdoc
I have no value for
method_argument_space
and I failed to have back the old behavior. Anyone can help ?The text was updated successfully, but these errors were encountered: