Completed
Push — master ( 28285d...d07412 )
by Daniel
03:13
created
source/CommonBasic.php 2 patches
Doc Comments   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -36,6 +36,9 @@  discard block
 block discarded – undo
36 36
 trait CommonBasic
37 37
 {
38 38
 
39
+    /**
40
+     * @param string $fullURL
41
+     */
39 42
     protected function getContentFromUrlThroughCurlRawArray($fullURL, $features = null)
40 43
     {
41 44
         $chanel = curl_init();
@@ -70,7 +73,7 @@  discard block
 block discarded – undo
70 73
      *
71 74
      * @param type $sourcePath
72 75
      * @param type $targetPath
73
-     * @return type
76
+     * @return string
74 77
      */
75 78
     protected function moveFilesIntoTargetFolder($sourcePath, $targetPath)
76 79
     {
@@ -186,7 +189,7 @@  discard block
 block discarded – undo
186 189
     /**
187 190
      * Provides a list of all known JSON errors and their description
188 191
      *
189
-     * @return type
192
+     * @return null|string
190 193
      */
191 194
     protected function setJsonErrorInPlainEnglish()
192 195
     {
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
         $rspJsonFromClient = curl_exec($chanel);
53 53
         $aReturn           = [];
54 54
         if (curl_errno($chanel)) {
55
-            $aReturn['info']     = $this->setArrayToJson([
55
+            $aReturn['info'] = $this->setArrayToJson([
56 56
                 '#'           => curl_errno($chanel),
57 57
                 'description' => curl_error($chanel)
58 58
             ]);
@@ -190,7 +190,7 @@  discard block
 block discarded – undo
190 190
      */
191 191
     protected function setJsonErrorInPlainEnglish()
192 192
     {
193
-        $knownErrors  = [
193
+        $knownErrors = [
194 194
             JSON_ERROR_NONE           => null,
195 195
             JSON_ERROR_DEPTH          => 'Maximum stack depth exceeded',
196 196
             JSON_ERROR_STATE_MISMATCH => 'Underflow or the modes mismatch',
Please login to merge, or discard this patch.