fix(notification): extract notification summary from $params

Fixes #6885 

 - [ ] Add phpdocs
 - [ ] Add rST docs