unknown shrub

This shrub had one tiny yellow flower when I took the photo last week. The flower and leaves look like Colutea, but the arrangement of leaves is different and the seed pods don't look the same as the photos I've looked at. Any ideas?
Photo is wrong way up - sorry don't know how to change it on here!
0
Posts
Could it be Caragana?
thanks Invicta2 - yes looks like it's Caragana frutex. It's been bugging me for ages, so thank you!