Awwwwwww flip! Its always when they are closed isn't it!
I really couldn't say what it is. If there are no obvious cuts or thorns he could have bruised or sprained it - or it could even be further up in his shoulder.
Keep an eye on him I'd say, if it gets any worse or he seems to be in pain, call the emergency vet number. It will cost a bomb! But insurance covers emergency visits too.
Hope he's feeling better soon xx