Conversation
|
Why was type casting removed? |
As per other models, we're not fetching the |
What do other models have to do with it?
As a result, type casting is useful here and there is no need to remove it. |
Well, add casting there if you want to mess around. |
By having a mixed parameter in the library, and based on the mount of results where |
The method has a clearly specified return type - an array. And only an array cannot be anything else, it does not even have the right to be null, or false. bestseller.php#L14 |
Exactly. As you described on the above, since the output is only expected to be returned as an array, then there's no need to cast it. |
No description provided.