Completed
Pull Request — master (#12)
by
unknown
18:40 queued 15:28
created
Classes/Service/Targets/InsertUpdateTable.php 2 patches
Indentation   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -218,16 +218,16 @@  discard block
 block discarded – undo
218 218
     }
219 219
     
220 220
     /**
221
-    * This function takes a password as argument, salts it and returns the new password.
222
-    *
223
-    * @param string $password
224
-    *
225
-    * @return string
226
-    */
221
+     * This function takes a password as argument, salts it and returns the new password.
222
+     *
223
+     * @param string $password
224
+     *
225
+     * @return string
226
+     */
227 227
     protected function SaltPassword($password)
228 228
     {
229 229
         if (\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::isLoaded('saltedpasswords')) {
230
-          // @see tx_saltedpasswords_Tasks_BulkUpdate::updatePasswords()
230
+            // @see tx_saltedpasswords_Tasks_BulkUpdate::updatePasswords()
231 231
             $saltedpasswordsInstance = \TYPO3\CMS\Saltedpasswords\Salt\SaltFactory::getSaltingInstance(null, 'FE');
232 232
 
233 233
             $password = $saltedpasswordsInstance->getHashedPassword($password);
@@ -241,12 +241,12 @@  discard block
 block discarded – undo
241 241
     }
242 242
     
243 243
     /**
244
-    * This function checks if a password is in md5 format.
245
-    *
246
-    * @param string $md5
247
-    *
248
-    * @return int
249
-    */
244
+     * This function checks if a password is in md5 format.
245
+     *
246
+     * @param string $md5
247
+     *
248
+     * @return int
249
+     */
250 250
     protected function isValidMd5($md5='')
251 251
     {
252 252
         return preg_match('/^[a-f0-9]{32}$/', $md5);
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -247,7 +247,7 @@
 block discarded – undo
247 247
     *
248 248
     * @return int
249 249
     */
250
-    protected function isValidMd5($md5='')
250
+    protected function isValidMd5($md5 = '')
251 251
     {
252 252
         return preg_match('/^[a-f0-9]{32}$/', $md5);
253 253
     }
Please login to merge, or discard this patch.