@@ -86,7 +86,7 @@ private function shouldRun(): bool {
8686	 * 
8787	 * @param int $id 
8888	 */ 
89- 	private  function  deleteShare (int  $ id
89+ 	private  function  deleteShare (int  $ id:  void  {
9090		$ qb$ this connection ->getQueryBuilder ();
9191		$ qbdelete ('share ' )
9292			->where ($ qbexpr ()->eq ('id ' , $ qbcreateNamedParameter ($ id
@@ -162,7 +162,7 @@ private function getShares(): Statement {
162162	 * 
163163	 * @param array $data 
164164	 */ 
165- 	private  function  processShare (array  $ data
165+ 	private  function  processShare (array  $ data:  void  {
166166		$ id$ data'id ' ];
167167
168168		$ this addToNotify ($ data'uid_owner ' ]);
@@ -176,7 +176,7 @@ private function processShare(array $data) {
176176	 * 
177177	 * @param string $uid 
178178	 */ 
179- 	private  function  addToNotify (string  $ uid
179+ 	private  function  addToNotify (string  $ uid:  void  {
180180		if  (!isset ($ this userToNotify [$ uid
181181			$ this userToNotify [$ uidtrue ;
182182		}
@@ -185,14 +185,14 @@ private function addToNotify(string $uid) {
185185	/** 
186186	 * Send all notifications 
187187	 */ 
188- 	private  function  sendNotification () {
188+ 	private  function  sendNotification ():  void  {
189189		$ time$ this timeFactory ->getDateTime ();
190190
191191		$ notification$ this notificationManager ->createNotification ();
192192		$ notificationsetApp ('core ' )
193193			->setDateTime ($ time
194194			->setObject ('repair ' , 'exposing_links ' )
195- 			->setSubject ('repair_exposing_links ' , [] );
195+ 			->setSubject ('repair_exposing_links ' );
196196
197197		$ usersarray_keys ($ this userToNotify );
198198		foreach  ($ usersas  $ user
@@ -201,7 +201,7 @@ private function sendNotification() {
201201		}
202202	}
203203
204- 	private  function  repair (IOutput $ output
204+ 	private  function  repair (IOutput $ output:  void  {
205205		$ total$ this getTotal ();
206206		$ outputstartProgress ($ total
207207
@@ -224,7 +224,7 @@ private function repair(IOutput $output) {
224224		$ this sendNotification ();
225225	}
226226
227- 	public  function  run (IOutput $ output
227+ 	public  function  run (IOutput $ output:  void  {
228228		if  ($ this shouldRun ()) {
229229			$ outputinfo ('Removing potentially over exposing link shares ' );
230230			$ this repair ($ output
0 commit comments