Passed
Push — master ( 0571fd...48a8f0 )
by Blizzz
19:19 queued 08:57
created
apps/files_trashbin/lib/BackgroundJob/ExpireTrash.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
 			return;
79 79
 		}
80 80
 
81
-		$this->userManager->callForSeenUsers(function (IUser $user) {
81
+		$this->userManager->callForSeenUsers(function(IUser $user) {
82 82
 			$uid = $user->getUID();
83 83
 			if (!$this->setupFS($uid)) {
84 84
 				return;
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
 		\OC_Util::setupFS($user);
101 101
 
102 102
 		// Check if this user has a trashbin directory
103
-		$view = new \OC\Files\View('/' . $user);
103
+		$view = new \OC\Files\View('/'.$user);
104 104
 		if (!$view->is_dir('/files_trashbin/files')) {
105 105
 			return false;
106 106
 		}
Please login to merge, or discard this patch.
Indentation   +63 added lines, -63 removed lines patch added patch discarded remove patch
@@ -36,77 +36,77 @@
 block discarded – undo
36 36
 
37 37
 class ExpireTrash extends \OC\BackgroundJob\TimedJob {
38 38
 
39
-	/**
40
-	 * @var Expiration
41
-	 */
42
-	private $expiration;
39
+    /**
40
+     * @var Expiration
41
+     */
42
+    private $expiration;
43 43
 	
44
-	/**
45
-	 * @var IUserManager
46
-	 */
47
-	private $userManager;
44
+    /**
45
+     * @var IUserManager
46
+     */
47
+    private $userManager;
48 48
 
49
-	/**
50
-	 * @param IUserManager|null $userManager
51
-	 * @param Expiration|null $expiration
52
-	 */
53
-	public function __construct(IUserManager $userManager = null,
54
-								Expiration $expiration = null) {
55
-		// Run once per 30 minutes
56
-		$this->setInterval(60 * 30);
49
+    /**
50
+     * @param IUserManager|null $userManager
51
+     * @param Expiration|null $expiration
52
+     */
53
+    public function __construct(IUserManager $userManager = null,
54
+                                Expiration $expiration = null) {
55
+        // Run once per 30 minutes
56
+        $this->setInterval(60 * 30);
57 57
 
58
-		if (is_null($expiration) || is_null($userManager)) {
59
-			$this->fixDIForJobs();
60
-		} else {
61
-			$this->userManager = $userManager;
62
-			$this->expiration = $expiration;
63
-		}
64
-	}
58
+        if (is_null($expiration) || is_null($userManager)) {
59
+            $this->fixDIForJobs();
60
+        } else {
61
+            $this->userManager = $userManager;
62
+            $this->expiration = $expiration;
63
+        }
64
+    }
65 65
 
66
-	protected function fixDIForJobs() {
67
-		/** @var Application $application */
68
-		$application = \OC::$server->query(Application::class);
69
-		$this->userManager = \OC::$server->getUserManager();
70
-		$this->expiration = $application->getContainer()->query('Expiration');
71
-	}
66
+    protected function fixDIForJobs() {
67
+        /** @var Application $application */
68
+        $application = \OC::$server->query(Application::class);
69
+        $this->userManager = \OC::$server->getUserManager();
70
+        $this->expiration = $application->getContainer()->query('Expiration');
71
+    }
72 72
 
73
-	/**
74
-	 * @param $argument
75
-	 * @throws \Exception
76
-	 */
77
-	protected function run($argument) {
78
-		$maxAge = $this->expiration->getMaxAgeAsTimestamp();
79
-		if (!$maxAge) {
80
-			return;
81
-		}
73
+    /**
74
+     * @param $argument
75
+     * @throws \Exception
76
+     */
77
+    protected function run($argument) {
78
+        $maxAge = $this->expiration->getMaxAgeAsTimestamp();
79
+        if (!$maxAge) {
80
+            return;
81
+        }
82 82
 
83
-		$this->userManager->callForSeenUsers(function (IUser $user) {
84
-			$uid = $user->getUID();
85
-			if (!$this->setupFS($uid)) {
86
-				return;
87
-			}
88
-			$dirContent = Helper::getTrashFiles('/', $uid, 'mtime');
89
-			Trashbin::deleteExpiredFiles($dirContent, $uid);
90
-		});
83
+        $this->userManager->callForSeenUsers(function (IUser $user) {
84
+            $uid = $user->getUID();
85
+            if (!$this->setupFS($uid)) {
86
+                return;
87
+            }
88
+            $dirContent = Helper::getTrashFiles('/', $uid, 'mtime');
89
+            Trashbin::deleteExpiredFiles($dirContent, $uid);
90
+        });
91 91
 		
92
-		\OC_Util::tearDownFS();
93
-	}
92
+        \OC_Util::tearDownFS();
93
+    }
94 94
 
95
-	/**
96
-	 * Act on behalf on trash item owner
97
-	 * @param string $user
98
-	 * @return boolean
99
-	 */
100
-	protected function setupFS($user) {
101
-		\OC_Util::tearDownFS();
102
-		\OC_Util::setupFS($user);
95
+    /**
96
+     * Act on behalf on trash item owner
97
+     * @param string $user
98
+     * @return boolean
99
+     */
100
+    protected function setupFS($user) {
101
+        \OC_Util::tearDownFS();
102
+        \OC_Util::setupFS($user);
103 103
 
104
-		// Check if this user has a trashbin directory
105
-		$view = new \OC\Files\View('/' . $user);
106
-		if (!$view->is_dir('/files_trashbin/files')) {
107
-			return false;
108
-		}
104
+        // Check if this user has a trashbin directory
105
+        $view = new \OC\Files\View('/' . $user);
106
+        if (!$view->is_dir('/files_trashbin/files')) {
107
+            return false;
108
+        }
109 109
 
110
-		return true;
111
-	}
110
+        return true;
111
+    }
112 112
 }
Please login to merge, or discard this patch.
apps/comments/lib/Notification/Listener.php 2 patches
Indentation   +77 added lines, -77 removed lines patch added patch discarded remove patch
@@ -27,91 +27,91 @@
 block discarded – undo
27 27
 use OCP\Notification\IManager;
28 28
 
29 29
 class Listener {
30
-	/** @var IManager */
31
-	protected $notificationManager;
30
+    /** @var IManager */
31
+    protected $notificationManager;
32 32
 
33
-	/** @var IUserManager */
34
-	protected $userManager;
33
+    /** @var IUserManager */
34
+    protected $userManager;
35 35
 
36
-	/**
37
-	 * Listener constructor.
38
-	 *
39
-	 * @param IManager $notificationManager
40
-	 * @param IUserManager $userManager
41
-	 */
42
-	public function __construct(
43
-		IManager $notificationManager,
44
-		IUserManager $userManager
45
-	) {
46
-		$this->notificationManager = $notificationManager;
47
-		$this->userManager = $userManager;
48
-	}
36
+    /**
37
+     * Listener constructor.
38
+     *
39
+     * @param IManager $notificationManager
40
+     * @param IUserManager $userManager
41
+     */
42
+    public function __construct(
43
+        IManager $notificationManager,
44
+        IUserManager $userManager
45
+    ) {
46
+        $this->notificationManager = $notificationManager;
47
+        $this->userManager = $userManager;
48
+    }
49 49
 
50
-	/**
51
-	 * @param CommentsEvent $event
52
-	 */
53
-	public function evaluate(CommentsEvent $event) {
54
-		$comment = $event->getComment();
50
+    /**
51
+     * @param CommentsEvent $event
52
+     */
53
+    public function evaluate(CommentsEvent $event) {
54
+        $comment = $event->getComment();
55 55
 
56
-		$mentions = $this->extractMentions($comment->getMentions());
57
-		if (empty($mentions)) {
58
-			// no one to notify
59
-			return;
60
-		}
56
+        $mentions = $this->extractMentions($comment->getMentions());
57
+        if (empty($mentions)) {
58
+            // no one to notify
59
+            return;
60
+        }
61 61
 
62
-		$notification = $this->instantiateNotification($comment);
62
+        $notification = $this->instantiateNotification($comment);
63 63
 
64
-		foreach ($mentions as $uid) {
65
-			if (($comment->getActorType() === 'users' && $uid === $comment->getActorId())
66
-				|| !$this->userManager->userExists($uid)
67
-			) {
68
-				// do not notify unknown users or yourself
69
-				continue;
70
-			}
64
+        foreach ($mentions as $uid) {
65
+            if (($comment->getActorType() === 'users' && $uid === $comment->getActorId())
66
+                || !$this->userManager->userExists($uid)
67
+            ) {
68
+                // do not notify unknown users or yourself
69
+                continue;
70
+            }
71 71
 
72
-			$notification->setUser($uid);
73
-			if ($event->getEvent() === CommentsEvent::EVENT_DELETE
74
-				|| $event->getEvent() === CommentsEvent::EVENT_PRE_UPDATE) {
75
-				$this->notificationManager->markProcessed($notification);
76
-			} else {
77
-				$this->notificationManager->notify($notification);
78
-			}
79
-		}
80
-	}
72
+            $notification->setUser($uid);
73
+            if ($event->getEvent() === CommentsEvent::EVENT_DELETE
74
+                || $event->getEvent() === CommentsEvent::EVENT_PRE_UPDATE) {
75
+                $this->notificationManager->markProcessed($notification);
76
+            } else {
77
+                $this->notificationManager->notify($notification);
78
+            }
79
+        }
80
+    }
81 81
 
82
-	/**
83
-	 * creates a notification instance and fills it with comment data
84
-	 *
85
-	 * @param IComment $comment
86
-	 * @return \OCP\Notification\INotification
87
-	 */
88
-	public function instantiateNotification(IComment $comment) {
89
-		$notification = $this->notificationManager->createNotification();
90
-		$notification
91
-			->setApp('comments')
92
-			->setObject('comment', $comment->getId())
93
-			->setSubject('mention', [ $comment->getObjectType(), $comment->getObjectId() ])
94
-			->setDateTime($comment->getCreationDateTime());
82
+    /**
83
+     * creates a notification instance and fills it with comment data
84
+     *
85
+     * @param IComment $comment
86
+     * @return \OCP\Notification\INotification
87
+     */
88
+    public function instantiateNotification(IComment $comment) {
89
+        $notification = $this->notificationManager->createNotification();
90
+        $notification
91
+            ->setApp('comments')
92
+            ->setObject('comment', $comment->getId())
93
+            ->setSubject('mention', [ $comment->getObjectType(), $comment->getObjectId() ])
94
+            ->setDateTime($comment->getCreationDateTime());
95 95
 
96
-		return $notification;
97
-	}
96
+        return $notification;
97
+    }
98 98
 
99
-	/**
100
-	 * flattens the mention array returned from comments to a list of user ids.
101
-	 *
102
-	 * @param array $mentions
103
-	 * @return string[] containing the mentions, e.g. ['alice', 'bob']
104
-	 */
105
-	public function extractMentions(array $mentions) {
106
-		if (empty($mentions)) {
107
-			return [];
108
-		}
109
-		$uids = [];
110
-		foreach ($mentions as $mention) {
111
-			if ($mention['type'] === 'user') {
112
-				$uids[] = $mention['id'];
113
-			}
114
-		}
115
-		return $uids;
116
-	}
99
+    /**
100
+     * flattens the mention array returned from comments to a list of user ids.
101
+     *
102
+     * @param array $mentions
103
+     * @return string[] containing the mentions, e.g. ['alice', 'bob']
104
+     */
105
+    public function extractMentions(array $mentions) {
106
+        if (empty($mentions)) {
107
+            return [];
108
+        }
109
+        $uids = [];
110
+        foreach ($mentions as $mention) {
111
+            if ($mention['type'] === 'user') {
112
+                $uids[] = $mention['id'];
113
+            }
114
+        }
115
+        return $uids;
116
+    }
117 117
 }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -90,7 +90,7 @@
 block discarded – undo
90 90
 		$notification
91 91
 			->setApp('comments')
92 92
 			->setObject('comment', $comment->getId())
93
-			->setSubject('mention', [ $comment->getObjectType(), $comment->getObjectId() ])
93
+			->setSubject('mention', [$comment->getObjectType(), $comment->getObjectId()])
94 94
 			->setDateTime($comment->getCreationDateTime());
95 95
 
96 96
 		return $notification;
Please login to merge, or discard this patch.
apps/user_ldap/lib/Command/CreateEmptyConfig.php 2 patches
Indentation   +31 added lines, -31 removed lines patch added patch discarded remove patch
@@ -33,39 +33,39 @@
 block discarded – undo
33 33
 use Symfony\Component\Console\Output\OutputInterface;
34 34
 
35 35
 class CreateEmptyConfig extends Command {
36
-	/** @var \OCA\User_LDAP\Helper */
37
-	protected $helper;
36
+    /** @var \OCA\User_LDAP\Helper */
37
+    protected $helper;
38 38
 
39
-	/**
40
-	 * @param Helper $helper
41
-	 */
42
-	public function __construct(Helper $helper) {
43
-		$this->helper = $helper;
44
-		parent::__construct();
45
-	}
39
+    /**
40
+     * @param Helper $helper
41
+     */
42
+    public function __construct(Helper $helper) {
43
+        $this->helper = $helper;
44
+        parent::__construct();
45
+    }
46 46
 
47
-	protected function configure() {
48
-		$this
49
-			->setName('ldap:create-empty-config')
50
-			->setDescription('creates an empty LDAP configuration')
51
-			->addOption(
52
-				'only-print-prefix',
53
-				'p',
54
-				InputOption::VALUE_NONE,
55
-				'outputs only the prefix'
56
-			)
57
-		;
58
-	}
47
+    protected function configure() {
48
+        $this
49
+            ->setName('ldap:create-empty-config')
50
+            ->setDescription('creates an empty LDAP configuration')
51
+            ->addOption(
52
+                'only-print-prefix',
53
+                'p',
54
+                InputOption::VALUE_NONE,
55
+                'outputs only the prefix'
56
+            )
57
+        ;
58
+    }
59 59
 
60
-	protected function execute(InputInterface $input, OutputInterface $output) {
61
-		$configPrefix = $this->helper->getNextServerConfigurationPrefix();
62
-		$configHolder = new Configuration($configPrefix);
63
-		$configHolder->saveConfiguration();
60
+    protected function execute(InputInterface $input, OutputInterface $output) {
61
+        $configPrefix = $this->helper->getNextServerConfigurationPrefix();
62
+        $configHolder = new Configuration($configPrefix);
63
+        $configHolder->saveConfiguration();
64 64
 
65
-		$prose = '';
66
-		if (!$input->getOption('only-print-prefix')) {
67
-			$prose = 'Created new configuration with configID ';
68
-		}
69
-		$output->writeln($prose . "{$configPrefix}");
70
-	}
65
+        $prose = '';
66
+        if (!$input->getOption('only-print-prefix')) {
67
+            $prose = 'Created new configuration with configID ';
68
+        }
69
+        $output->writeln($prose . "{$configPrefix}");
70
+    }
71 71
 }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,6 +66,6 @@
 block discarded – undo
66 66
 		if (!$input->getOption('only-print-prefix')) {
67 67
 			$prose = 'Created new configuration with configID ';
68 68
 		}
69
-		$output->writeln($prose . "{$configPrefix}");
69
+		$output->writeln($prose."{$configPrefix}");
70 70
 	}
71 71
 }
Please login to merge, or discard this patch.
apps/user_ldap/lib/Command/DeleteConfig.php 1 patch
Indentation   +29 added lines, -29 removed lines patch added patch discarded remove patch
@@ -32,39 +32,39 @@
 block discarded – undo
32 32
 use Symfony\Component\Console\Output\OutputInterface;
33 33
 
34 34
 class DeleteConfig extends Command {
35
-	/** @var \OCA\User_LDAP\Helper */
36
-	protected $helper;
35
+    /** @var \OCA\User_LDAP\Helper */
36
+    protected $helper;
37 37
 
38
-	/**
39
-	 * @param Helper $helper
40
-	 */
41
-	public function __construct(Helper $helper) {
42
-		$this->helper = $helper;
43
-		parent::__construct();
44
-	}
38
+    /**
39
+     * @param Helper $helper
40
+     */
41
+    public function __construct(Helper $helper) {
42
+        $this->helper = $helper;
43
+        parent::__construct();
44
+    }
45 45
 
46
-	protected function configure() {
47
-		$this
48
-			->setName('ldap:delete-config')
49
-			->setDescription('deletes an existing LDAP configuration')
50
-			->addArgument(
51
-					'configID',
52
-					InputArgument::REQUIRED,
53
-					'the configuration ID'
54
-					 )
55
-		;
56
-	}
46
+    protected function configure() {
47
+        $this
48
+            ->setName('ldap:delete-config')
49
+            ->setDescription('deletes an existing LDAP configuration')
50
+            ->addArgument(
51
+                    'configID',
52
+                    InputArgument::REQUIRED,
53
+                    'the configuration ID'
54
+                        )
55
+        ;
56
+    }
57 57
 
58 58
 
59
-	protected function execute(InputInterface $input, OutputInterface $output) {
60
-		$configPrefix = $input->getArgument('configID');
59
+    protected function execute(InputInterface $input, OutputInterface $output) {
60
+        $configPrefix = $input->getArgument('configID');
61 61
 
62
-		$success = $this->helper->deleteServerConfiguration($configPrefix);
62
+        $success = $this->helper->deleteServerConfiguration($configPrefix);
63 63
 
64
-		if ($success) {
65
-			$output->writeln("Deleted configuration with configID '{$configPrefix}'");
66
-		} else {
67
-			$output->writeln("Cannot delete configuration with configID '{$configPrefix}'");
68
-		}
69
-	}
64
+        if ($success) {
65
+            $output->writeln("Deleted configuration with configID '{$configPrefix}'");
66
+        } else {
67
+            $output->writeln("Cannot delete configuration with configID '{$configPrefix}'");
68
+        }
69
+    }
70 70
 }
Please login to merge, or discard this patch.
apps/user_ldap/lib/Migration/UUIDFix.php 1 patch
Indentation   +24 added lines, -24 removed lines patch added patch discarded remove patch
@@ -29,31 +29,31 @@
 block discarded – undo
29 29
 use OCA\User_LDAP\User_Proxy;
30 30
 
31 31
 abstract class UUIDFix extends QueuedJob {
32
-	/** @var  AbstractMapping */
33
-	protected $mapper;
32
+    /** @var  AbstractMapping */
33
+    protected $mapper;
34 34
 
35
-	/** @var  Proxy */
36
-	protected $proxy;
35
+    /** @var  Proxy */
36
+    protected $proxy;
37 37
 
38
-	public function run($argument) {
39
-		$isUser = $this->proxy instanceof User_Proxy;
40
-		foreach ($argument['records'] as $record) {
41
-			$access = $this->proxy->getLDAPAccess($record['name']);
42
-			$uuid = $access->getUUID($record['dn'], $isUser);
43
-			if ($uuid === false) {
44
-				// record not found, no prob, continue with the next
45
-				continue;
46
-			}
47
-			if ($uuid !== $record['uuid']) {
48
-				$this->mapper->setUUIDbyDN($uuid, $record['dn']);
49
-			}
50
-		}
51
-	}
38
+    public function run($argument) {
39
+        $isUser = $this->proxy instanceof User_Proxy;
40
+        foreach ($argument['records'] as $record) {
41
+            $access = $this->proxy->getLDAPAccess($record['name']);
42
+            $uuid = $access->getUUID($record['dn'], $isUser);
43
+            if ($uuid === false) {
44
+                // record not found, no prob, continue with the next
45
+                continue;
46
+            }
47
+            if ($uuid !== $record['uuid']) {
48
+                $this->mapper->setUUIDbyDN($uuid, $record['dn']);
49
+            }
50
+        }
51
+    }
52 52
 
53
-	/**
54
-	 * @param Proxy $proxy
55
-	 */
56
-	public function overrideProxy(Proxy $proxy) {
57
-		$this->proxy = $proxy;
58
-	}
53
+    /**
54
+     * @param Proxy $proxy
55
+     */
56
+    public function overrideProxy(Proxy $proxy) {
57
+        $this->proxy = $proxy;
58
+    }
59 59
 }
Please login to merge, or discard this patch.
apps/user_ldap/lib/Mapping/GroupMapping.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -29,11 +29,11 @@
 block discarded – undo
29 29
  */
30 30
 class GroupMapping extends AbstractMapping {
31 31
 
32
-	/**
33
-	 * returns the DB table name which holds the mappings
34
-	 * @return string
35
-	 */
36
-	protected function getTableName() {
37
-		return '*PREFIX*ldap_group_mapping';
38
-	}
32
+    /**
33
+     * returns the DB table name which holds the mappings
34
+     * @return string
35
+     */
36
+    protected function getTableName() {
37
+        return '*PREFIX*ldap_group_mapping';
38
+    }
39 39
 }
Please login to merge, or discard this patch.
apps/user_ldap/lib/Mapping/UserMapping.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -29,11 +29,11 @@
 block discarded – undo
29 29
  */
30 30
 class UserMapping extends AbstractMapping {
31 31
 
32
-	/**
33
-	 * returns the DB table name which holds the mappings
34
-	 * @return string
35
-	 */
36
-	protected function getTableName() {
37
-		return '*PREFIX*ldap_user_mapping';
38
-	}
32
+    /**
33
+     * returns the DB table name which holds the mappings
34
+     * @return string
35
+     */
36
+    protected function getTableName() {
37
+        return '*PREFIX*ldap_user_mapping';
38
+    }
39 39
 }
Please login to merge, or discard this patch.
apps/user_ldap/lib/BackendUtility.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -26,13 +26,13 @@
 block discarded – undo
26 26
 namespace OCA\User_LDAP;
27 27
 
28 28
 abstract class BackendUtility {
29
-	protected $access;
29
+    protected $access;
30 30
 
31
-	/**
32
-	 * constructor, make sure the subclasses call this one!
33
-	 * @param Access $access an instance of Access for LDAP interaction
34
-	 */
35
-	public function __construct(Access $access) {
36
-		$this->access = $access;
37
-	}
31
+    /**
32
+     * constructor, make sure the subclasses call this one!
33
+     * @param Access $access an instance of Access for LDAP interaction
34
+     */
35
+    public function __construct(Access $access) {
36
+        $this->access = $access;
37
+    }
38 38
 }
Please login to merge, or discard this patch.
apps/user_ldap/ajax/getNewServerConfigPrefix.php 2 patches
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -38,12 +38,12 @@
 block discarded – undo
38 38
 
39 39
 $newConfig = new \OCA\User_LDAP\Configuration($nk, false);
40 40
 if (isset($_POST['copyConfig'])) {
41
-	$originalConfig = new \OCA\User_LDAP\Configuration($_POST['copyConfig']);
42
-	$newConfig->setConfiguration($originalConfig->getConfiguration());
41
+    $originalConfig = new \OCA\User_LDAP\Configuration($_POST['copyConfig']);
42
+    $newConfig->setConfiguration($originalConfig->getConfiguration());
43 43
 } else {
44
-	$configuration = new \OCA\User_LDAP\Configuration($nk, false);
45
-	$newConfig->setConfiguration($configuration->getDefaults());
46
-	$resultData['defaults'] = $configuration->getDefaults();
44
+    $configuration = new \OCA\User_LDAP\Configuration($nk, false);
45
+    $newConfig->setConfiguration($configuration->getDefaults());
46
+    $resultData['defaults'] = $configuration->getDefaults();
47 47
 }
48 48
 $newConfig->saveConfiguration();
49 49
 
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -33,8 +33,8 @@
 block discarded – undo
33 33
 $serverConnections = $helper->getServerConfigurationPrefixes();
34 34
 sort($serverConnections);
35 35
 $lk = array_pop($serverConnections);
36
-$ln = (int)str_replace('s', '', $lk);
37
-$nk = 's'.str_pad($ln+1, 2, '0', STR_PAD_LEFT);
36
+$ln = (int) str_replace('s', '', $lk);
37
+$nk = 's'.str_pad($ln + 1, 2, '0', STR_PAD_LEFT);
38 38
 
39 39
 $resultData = ['configPrefix' => $nk];
40 40
 
Please login to merge, or discard this patch.