Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix return type #173

Merged
merged 1 commit into from Jan 5, 2022
Merged

Fix return type #173

merged 1 commit into from Jan 5, 2022

Conversation

ruudk
Copy link
Contributor

@ruudk ruudk commented Dec 8, 2021

Method "Doctrine\DBAL\Types\Type::getSQLDeclaration()" might add "string" as a native return type declaration in the future. Do the same in child class "Ramsey\Uuid\Doctrine\UuidBinaryType" now to avoid errors or add an explicit @return annotation to suppress this message.

@ruudk
Copy link
Contributor Author

ruudk commented Dec 13, 2021

@ramsey Could you approve the workflow so that we can see if the tests pass? Thank you 🙏

@codecov
Copy link

codecov bot commented Dec 13, 2021

Codecov Report

Merging #173 (6960c69) into main (d120276) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff             @@
##                main      #173   +/-   ##
===========================================
  Coverage     100.00%   100.00%           
  Complexity        57        57           
===========================================
  Files              5         5           
  Lines            112       112           
===========================================
  Hits             112       112           
Impacted Files Coverage Δ
src/UuidBinaryOrderedTimeType.php 100.00% <ø> (ø)
src/UuidBinaryType.php 100.00% <ø> (ø)

@ruudk

This comment has been minimized.

@ramsey
Copy link
Owner

ramsey commented Dec 13, 2021

It’s not useless. It tells me that the line coverage hasn’t changed as a result of your changes in this PR. 😀

@ruudk

This comment has been minimized.

@ruudk
Copy link
Contributor Author

ruudk commented Dec 18, 2021

@ramsey Sorry for the rant. Is there anything you would like me to change?

Method "Doctrine\DBAL\Types\Type::getSQLDeclaration()" might add "string" as a native return type declaration in the future. Do the same in child class "Ramsey\Uuid\Doctrine\UuidBinaryType" now to avoid errors or add an explicit @return annotation to suppress this message.
@ramsey
Copy link
Owner

ramsey commented Dec 30, 2021

I didn't know you can mark a comment as being "off-topic." Interesting.

I'll try to get this merged soon. Thanks!

@ramsey ramsey merged commit 05ed408 into ramsey:main Jan 5, 2022
@ruudk ruudk deleted the return-type branch January 5, 2022 09:27
@ruudk
Copy link
Contributor Author

ruudk commented Jan 5, 2022

@ramsey Thanks for the merge ❤️
Could you tag a new release for this 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants