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

support non-falsy-string in rex_sql::escape() #5350

Merged
merged 3 commits into from Oct 4, 2022
Merged

support non-falsy-string in rex_sql::escape() #5350

merged 3 commits into from Oct 4, 2022

Conversation

staabm
Copy link
Member

@staabm staabm commented Oct 3, 2022

ich hab kein konretes issue oder nutzen, aber non-falsy-string ist ein präziserer type wie non-empty-string und sollte daher wenn möglich erhalten bleiben

@staabm staabm changed the title support non-falsy-string in rex_sql::escape() support non-falsy-string in rex_sql::escape() Oct 4, 2022
@@ -1405,7 +1405,10 @@ private function fetchMeta()
* @param string $value den zu escapenden Wert
*
* @return string
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

interessant dass der cs-fixer das @return string unten entfernt hat, hier aber nicht

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Einmal steht es ja als nativer Return type dran

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ich meinte diesen commit 0174ae5

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ja, da wurde es entfernt, weil string schon als nativer Return type an der Methode steht.
Hier bei der Methode gibt es hingegen keinen nativen return type.

@gharlan gharlan added the automerge Automatisch PR rebasen und mergen label Oct 4, 2022
@kodiakhq kodiakhq bot merged commit 78eeea1 into main Oct 4, 2022
@kodiakhq kodiakhq bot deleted the sql-types branch October 4, 2022 18:12
@rex-bot rex-bot removed the automerge Automatisch PR rebasen und mergen label Oct 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants