[pumpio] Fixes/imports: #661
No reviewers
Labels
No labels
2018.09
2019.01
2019.03
2019.06
2019.09
2019.12
2020.03
2020.06
2020.09
2020.12
2021.03
2021.07
2021.09
2022.02
2022.06
2022.09
2022.12
2023.04
2023.05
2023.09
2024.03
2024.06
2024.09
2024.12
dependencies
Hackathon 2021
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: friendica/friendica-addons#661
Loading…
Reference in a new issue
No description provided.
Delete branch "pumpio/import-curly-braces"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes/imports:
if()
blocks into one for lesser nested code blocksApp
andarray
where applyableuse
under PHP) classes and not reference them directly,reducing and improving readability
Please add
App
type-hinting to all the other functions while you're at it.Good, still missing many
App
type hints.Okay, thank you for noticing me about it. Edit: Done. I also found a missing
array
type-hint ($b
is an array there).I appreciate the touch, but please don't mention my GitHub handle in your commit messages. It creates additional unactionable notifications when you commit and when we merge.
Okay, sorry about this. Next time I leave the
@
out.