To be complete, this should check if it is an array and cast as there are additional side effects that should be checked for, in case at any point the query fails and null or another value is returned.
As the original PR was a quick hack to get the command working on PHP7, this is also a quick hack to get it working again on PHP5.
To be complete, this should check if it is an array and cast as there are additional side effects that should be checked for, in case at any point the query fails and null or another value is returned.
As the original PR was a quick hack to get the command working on PHP7, this is also a quick hack to get it working again on PHP5.