Completed
Push — master ( d1f73f...c68144 )
by Daniel
06:36
created
source/CommonCode.php 2 patches
Doc Comments   +4 added lines, -5 removed lines patch added patch discarded remove patch
@@ -167,7 +167,7 @@  discard block
 block discarded – undo
167 167
      *
168 168
      * @param string $fullURL
169 169
      * @param array $features
170
-     * @return blob
170
+     * @return string
171 171
      */
172 172
     protected function getContentFromUrlThroughCurl($fullURL, $features = null)
173 173
     {
@@ -463,8 +463,7 @@  discard block
 block discarded – undo
463 463
      *
464 464
      * @param type $sourcePath
465 465
      * @param type $targetPath
466
-     * @param type $overwrite
467
-     * @return type
466
+     * @return string
468 467
      */
469 468
     protected function moveFilesIntoTargetFolder($sourcePath, $targetPath)
470 469
     {
@@ -631,7 +630,7 @@  discard block
 block discarded – undo
631 630
      *
632 631
      * @param float $fAbove
633 632
      * @param float $fBelow
634
-     * @param mixed $mArguments
633
+     * @param integer $mArguments
635 634
      * @return decimal
636 635
      */
637 636
     protected function setDividedResult($fAbove, $fBelow, $mArguments = 0)
@@ -655,7 +654,7 @@  discard block
 block discarded – undo
655 654
     /**
656 655
      * Provides a list of all known JSON errors and their description
657 656
      *
658
-     * @return type
657
+     * @return null|string
659 658
      */
660 659
     private function setJsonErrorInPlainEnglish()
661 660
     {
Please login to merge, or discard this 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.