- Issue created by @mstrelan
- Status changed to Needs review
3 months ago 6:29am 26 August 2024 - Status changed to RTBC
3 months ago 1:35pm 26 August 2024 - 🇺🇸United States smustgrave
Seems straight forward.
I can't wait till typehints are required.
- 🇳🇿New Zealand quietone
Unfortunately, a few more instances have crept into the code. It seems we will be chasing our tail for a while on these. Let's get an update on this and then ping me when it is ready.
- 🇦🇺Australia mstrelan
Added a few more:
- \Drupal\Tests\comment\Functional\CommentTestBase::commentExists
- \Drupal\Tests\comment\Functional\CommentTestBase::commentContactInfoAvailable
- \Drupal\KernelTests\AssertContentTrait::assertNoFieldByName
I intentionally left out the following:
- \Drupal\Tests\user\Functional\UserRegistrationRestTest::registerUser because it would add a union type
- \Drupal\KernelTests\AssertContentTrait::getSelectedItem because the @return annotation is wrong
- 🇳🇿New Zealand quietone
Adding where work on AssertContentTrait is being done.
- 🇺🇸United States smustgrave
I intentionally left out the following:
\Drupal\Tests\user\Functional\UserRegistrationRestTest::registerUser because it would add a union type
\Drupal\KernelTests\AssertContentTrait::getSelectedItem because the @return annotation is wrongShould follow ups be made for those?
- 🇦🇺Australia mstrelan
Should follow ups be made for those?
I've updated the parent / meta to mention union types in the remaining tasks. I think that also covers AssertContentTrait::getSelectedItem as I think it should return
string|false
. -
quietone →
committed acd24cb3 on 11.x
Issue #3470203 by mstrelan, smustgrave: Add (more) bool return typehints...
-
quietone →
committed acd24cb3 on 11.x
Automatically closed - issue fixed for 2 weeks with no activity.