Completed
Push — master ( d07412...cd27fe )
by Daniel
02:58 queued 10s
created
source/CommonBasic.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -148,7 +148,7 @@
 block discarded – undo
148 148
      */
149 149
     protected function setJsonErrorInPlainEnglish()
150 150
     {
151
-        $knownErrors  = [
151
+        $knownErrors = [
152 152
             JSON_ERROR_NONE           => null,
153 153
             JSON_ERROR_DEPTH          => 'Maximum stack depth exceeded',
154 154
             JSON_ERROR_STATE_MISMATCH => 'Underflow or the modes mismatch',
Please login to merge, or discard this patch.
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
      *
42 42
      * @param type $sourcePath
43 43
      * @param type $targetPath
44
-     * @return type
44
+     * @return string
45 45
      */
46 46
     protected function moveFilesIntoTargetFolder($sourcePath, $targetPath)
47 47
     {
@@ -157,7 +157,7 @@  discard block
 block discarded – undo
157 157
     /**
158 158
      * Provides a list of all known JSON errors and their description
159 159
      *
160
-     * @return type
160
+     * @return null|string
161 161
      */
162 162
     protected function setJsonErrorInPlainEnglish()
163 163
     {
Please login to merge, or discard this patch.
source/CommonCode.php 1 patch
Doc Comments   +14 added lines, -2 removed lines patch added patch discarded remove patch
@@ -62,6 +62,9 @@  discard block
 block discarded – undo
62 62
         return $difference;
63 63
     }
64 64
 
65
+    /**
66
+     * @param resource $chanel
67
+     */
65 68
     private function buildArrayForCurlInterogation($chanel)
66 69
     {
67 70
         if (curl_errno($chanel)) {
@@ -81,7 +84,7 @@  discard block
 block discarded – undo
81 84
      *
82 85
      * @param string $fullURL
83 86
      * @param array $features
84
-     * @return blob
87
+     * @return string
85 88
      */
86 89
     protected function getContentFromUrlThroughCurl($fullURL, $features = null)
87 90
     {
@@ -122,6 +125,9 @@  discard block
 block discarded – undo
122 125
         return $result;
123 126
     }
124 127
 
128
+    /**
129
+     * @param string $fullURL
130
+     */
125 131
     protected function getContentFromUrlThroughCurlRawArray($fullURL, $features = null)
126 132
     {
127 133
         $chanel = curl_init();
@@ -276,6 +282,9 @@  discard block
 block discarded – undo
276 282
         return $this->lclMsgCmn('i18n_Error_GivenInputIsNotJson');
277 283
     }
278 284
 
285
+    /**
286
+     * @param string $keyToWorkWith
287
+     */
279 288
     private function packIntoJson($aReturn, $keyToWorkWith)
280 289
     {
281 290
         if ($this->isJsonByDanielGP($aReturn[$keyToWorkWith])) {
@@ -320,6 +329,9 @@  discard block
 block discarded – undo
320 329
         }
321 330
     }
322 331
 
332
+    /**
333
+     * @param string $postingString
334
+     */
323 335
     protected function sendBackgroundPrepareData($pUrlParts, $postingString)
324 336
     {
325 337
         $this->initializeSprGlbAndSession();
@@ -341,7 +353,7 @@  discard block
 block discarded – undo
341 353
      *
342 354
      * @param float $fAbove
343 355
      * @param float $fBelow
344
-     * @param mixed $mArguments
356
+     * @param integer $mArguments
345 357
      * @return decimal
346 358
      */
347 359
     protected function setDividedResult($fAbove, $fBelow, $mArguments = 0)
Please login to merge, or discard this patch.