Confidence: It's likely to be this, but I can't be certain.
Notes: I don't think this is Black Medick, there are no tiny points at the end of each leaflet.
Keep watching this plant over the next few months, if the dead flowers fall off, its a medick. If they persist than its a trefoil!!!