
Yes, but did he stop barking during the water catching? :D
If he does then keep squirting the water and saying very calmly, quiet, good dog quiet, and call him to you for a pet.
I don't really use the water treatment as a punishment, but as aqn attention getting method, to get a word in edge wise.
Oops I better watch out as those who know me will start using this method on overly talkative moi :D :D :D
Also having a lead on the dog so that you can pull them to you when they go off on a barking spree is useful, as it will distaract them from the object they are barking at, and give you control, so that you can shut them up, and then be able to praise for the correct quiet behaviour.
I found for a dog that runs outsdie to bark having a smallish area nearest the house fenced in is handy, as you can march out, grab them by the collar and send them in. If you send them back in house every time they bark, then in order to be outside they will come to realise they had best keep quiet.
Having five dogs of a breed that like the sound of their own voices and living in a suburban street means I have to try as much as possible to limiting any barking to legittimate and short periods.