Skip to content
This repository was archived by the owner on Nov 15, 2024. It is now read-only.

Refactoring - code improvements:#728

Open
bohacf wants to merge 1 commit intotrippo:masterfrom
bohacf:refactoring
Open

Refactoring - code improvements:#728
bohacf wants to merge 1 commit intotrippo:masterfrom
bohacf:refactoring

Conversation

@bohacf
Copy link
Contributor

@bohacf bohacf commented Nov 1, 2023

  • a few fix of "Variable $... might not be defined."
  • strict comparsion (=== instead == for strings only)
  • intval($val) => (int)$val
  • ! is*() (! isset(), ! is_array) => !is*()
  • }else{ => } else {
  • $val == "" => empty($val)
  • $val !== "" => !empty($val)

- a few fix of "Variable $... might not be defined."
- strict comparsion (=== instead == for strings only)
- intval($val) => (int)$val
- ! is*() (! isset(), ! is_array) => !is*()
- }else{ => } else {
- $val == "" => empty($val)
- $val !== "" => !empty($val)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants