rspec/rules/S1168/description.adoc
Arseniy Zaostrovnykh 7ca29f686f Force linebreaks
2021-02-02 15:02:10 +01:00

4 lines
240 B
Plaintext

Returning ``++null++`` instead of an actual array or collection forces callers of the method to explicitly test for nullity, making them more complex and less readable.
Moreover, in many cases, ``++null++`` is used as a synonym for empty.