Passed
Push — master ( d0642b...ebe4f4 )
by Daimona
01:47
created
includes/Task/UserNotice.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@  discard block
 block discarded – undo
1
-<?php declare( strict_types=1 );
1
+<?php declare(strict_types=1);
2 2
 
3 3
 namespace BotRiconferme\Task;
4 4
 
@@ -11,13 +11,13 @@  discard block
 block discarded – undo
11 11
 	/**
12 12
 	 * @inheritDoc
13 13
 	 */
14
-	public function run() : TaskResult {
14
+	public function run () : TaskResult {
15 15
 		$this->getLogger()->info( 'Starting task UserNotice' );
16 16
 
17 17
 		$pages = $this->getDataProvider()->getCreatedPages();
18 18
 		$users = $this->getDataProvider()->getUsersToProcess();
19 19
 		if ( $pages && $users ) {
20
-			$ricNums = [];
20
+			$ricNums = [ ];
21 21
 			foreach ( $pages as $page ) {
22 22
 				$bits = explode( '/', $page );
23 23
 				$num = intval( array_pop( $bits ) );
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
 	 * @param string $user
42 42
 	 * @param int $ricNum
43 43
 	 */
44
-	protected function addMsg( string $user, int $ricNum ) {
44
+	protected function addMsg ( string $user, int $ricNum ) {
45 45
 		$this->getLogger()->info( "Leaving msg to $user" );
46 46
 		$msg = str_replace( '$num', "$ricNum", $this->getConfig()->get( 'user-notice-msg' ) );
47 47
 
Please login to merge, or discard this patch.