Commit 21f4c43
committed
fix(ZMS): remove redundant null checks for Psalm
Drop dead null coalescing on query string and null comparison on client IP where both values are already non-nullable strings.1 parent e22d3a5 commit 21f4c43
2 files changed
Lines changed: 2 additions & 2 deletions
File tree
- zmscitizenapi/src/Zmscitizenapi/Middleware
- zmsticketprinter/src/Zmsticketprinter
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
115 | | - | |
| 115 | + | |
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
| |||
0 commit comments