Closed fractalis closed 9 years ago
I've been noticing this error in Filter::filter($filter) for line 41:
$last_element = end(array_keys($this->key_parts));
This is when E_STRICT error reporting is enabled. The fix should be as simple as:
$kp_keys = array_keys($this->key_parts); $last_element = end($kp_keys);
If you would like I'd be more than happy to submit a pull request if you find the change acceptable.
Thanks!
Great find.
Just fixed it.
I've been noticing this error in Filter::filter($filter) for line 41:
This is when E_STRICT error reporting is enabled. The fix should be as simple as:
If you would like I'd be more than happy to submit a pull request if you find the change acceptable.
Thanks!