The leaves margin are slightly tinged with red. The branches have thorns
Photo of the shrub
flower stem
Red edged leaves
Looks like an Aussie interloper; I am guessing a species of Acacia though it would be nice if the flower buds were open.
David is correct with Acacia try A. cultriformis https://keyserver.lucidcentral.org/weeds/data/media/Html/acacia_cultriformis.htm Interesting notes there about its weed status outside its natural range in NSW
(JPG format, max 500kB)