Completed
Push — master ( d1f73f...c68144 )
by Daniel
06:36
created
source/CommonCode.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -193,7 +193,7 @@  discard block
 block discarded – undo
193 193
         curl_setopt($chanel, CURLOPT_FAILONERROR, true);
194 194
         $rspJsonFromClient = curl_exec($chanel);
195 195
         if (curl_errno($chanel)) {
196
-            $aReturn['info']     = $this->setArrayToJson([
196
+            $aReturn['info'] = $this->setArrayToJson([
197 197
                 '#'           => curl_errno($chanel),
198 198
                 'description' => curl_error($chanel)
199 199
             ]);
@@ -476,7 +476,7 @@  discard block
 block discarded – undo
476 476
                 ->ignoreUnreadableDirs(true)
477 477
                 ->followLinks()
478 478
                 ->in($sourcePath);
479
-        $sFiles     = [];
479
+        $sFiles = [];
480 480
         foreach ($iterator as $file) {
481 481
             $relativePathFile = str_replace($sourcePath, '', $file->getRealPath());
482 482
             if (!file_exists($targetPath . $relativePathFile)) {
@@ -516,7 +516,7 @@  discard block
 block discarded – undo
516 516
                     ->ignoreUnreadableDirs(true)
517 517
                     ->followLinks()
518 518
                     ->in($inputArray['path']);
519
-            $aFiles   = null;
519
+            $aFiles = null;
520 520
             foreach ($iterator as $file) {
521 521
                 if ($file->getATime() < strtotime($inputArray['dateRule'])) {
522 522
                     $aFiles[] = $file->getRealPath();
@@ -659,7 +659,7 @@  discard block
 block discarded – undo
659 659
      */
660 660
     private function setJsonErrorInPlainEnglish()
661 661
     {
662
-        $knownErrors  = [
662
+        $knownErrors = [
663 663
             JSON_ERROR_NONE           => null,
664 664
             JSON_ERROR_DEPTH          => 'Maximum stack depth exceeded',
665 665
             JSON_ERROR_STATE_MISMATCH => 'Underflow or the modes mismatch',
Please login to merge, or discard this patch.