URI build only from numbers
Closed this issue · 3 comments
AdrianSkierniewski commented
Hi,
I came across a bug, when my url is http://domain.pl/en/2222222222222222, uri consists of only numbers. I get an error:
array_values() expects parameter 1 to be array, integer given
Location:
/vendor/noherczeg/breadcrumb/src/Noherczeg/Breadcrumb/Breadcrumb.php on line 205
I found that json_decode return Int, and this breaks array_values()
noherczeg commented
Think I solved your problem, but please check it out, to be sure :)
If it's okay, I'll close this.
AdrianSkierniewski commented
It works, thanks for the quick response
Good job with this package
noherczeg commented
You're welcome! :)