orklah
|
db45ff1ba4
|
More return types (#4173)
* add native return types
* redundant phpdoc
|
2021-01-29 11:38:57 +01:00 |
|
Brown
|
596492a95a
|
Only add pure when not overriding upstream
|
2021-01-29 11:38:44 +01:00 |
|
Brown
|
fe5fd82a93
|
Fix ImpureVariable test
|
2021-01-29 11:38:44 +01:00 |
|
Brown
|
1ec0f35011
|
Only add pure to functions with params
|
2021-01-29 11:38:43 +01:00 |
|
Matthew Brown
|
07843d4768
|
Don’t add pure annotation when closure is impure
|
2021-01-29 11:38:43 +01:00 |
|
Matthew Brown
|
601a8fdcb6
|
Restrict pure annotation addition a little more
|
2021-01-29 11:38:42 +01:00 |
|
Brown
|
47faea8ca3
|
Prohibit property fetches from pure contexts except when they’re on immutable objects
|
2021-01-29 11:38:04 +01:00 |
|
Brown
|
bcc9c413ad
|
Allow adding pure annotations to functions
Ref #4036
|
2021-01-29 11:38:04 +01:00 |
|