Repository navigation
Commit 53c3dd9
Declare the properties of the Report class
The class extends stdClass and fromObject() copies every key of the payload
on the instance, so the properties are not declared and the analyzers
report "The property user_os does not exist on App\Report".
78af93a354 made them readable without the curly braces, declare them for the
analyzer instead.
Co-authored-by: DeepSeek <noreply@deepseek.com>
Signed-off-by: William Desportes <williamdes@wdes.fr>1 parent 92899d9 commit 53c3dd9
1 file changed
Lines changed: 19 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
32 | 51 | | |
33 | 52 | | |
34 | 53 | | |
| |||
0 commit comments