Completed
Push — master ( 00e474...9d3fbd )
by Michael
04:26
created
admin/exports/csv.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -116,7 +116,7 @@
 block discarded – undo
116 116
     }
117 117
 
118 118
     /**
119
-     * @return bool|string
119
+     * @return string|false
120 120
      */
121 121
     public function getDownloadPath()
122 122
     {
Please login to merge, or discard this patch.
admin/exports/dbase.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -176,7 +176,7 @@
 block discarded – undo
176 176
     }
177 177
 
178 178
     /**
179
-     * @return bool|string
179
+     * @return string|false
180 180
      */
181 181
     public function getDownloadPath()
182 182
     {
Please login to merge, or discard this patch.
admin/gateways/gateway.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -156,7 +156,7 @@
 block discarded – undo
156 156
     /**
157 157
      * Returne the gateway's language file
158 158
      *
159
-     * @return the filename to use
159
+     * @return string filename to use
160 160
      */
161 161
     public function getGatewayLanguageFile()
162 162
     {
Please login to merge, or discard this patch.
admin/gateways/paypal/gateway.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -129,7 +129,7 @@
 block discarded – undo
129 129
 
130 130
     /**
131 131
      * Formate le montant au format Paypal
132
-     * @param $amount
132
+     * @param double $amount
133 133
      * @return string
134 134
      */
135 135
     private function formatAmount($amount)
Please login to merge, or discard this patch.
admin/gateways/pec24/gateway.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -178,7 +178,7 @@
 block discarded – undo
178 178
      * This method is in charge to dialog with the gateway to verify the payment's statuts
179 179
      *
180 180
      * @param  string $gatewaysLogPath The full path (and name) to the log file
181
-     * @return void
181
+     * @return string
182 182
      */
183 183
     public function gatewayNotify($gatewaysLogPath)
184 184
     {
Please login to merge, or discard this patch.
admin/gateways/pec24/nusoap.php 1 patch
Doc Comments   +23 added lines, -19 removed lines patch added patch discarded remove patch
@@ -377,7 +377,7 @@  discard block
 block discarded – undo
377 377
     /**
378 378
      * gets the current debug data for this instance
379 379
      *
380
-     * @return debug data
380
+     * @return string data
381 381
      * @access   public
382 382
      */
383 383
     public function &getDebug()
@@ -391,7 +391,7 @@  discard block
 block discarded – undo
391 391
      * gets the current debug data for this instance as an XML comment
392 392
      * this may change the contents of the debug data
393 393
      *
394
-     * @return debug data as an XML comment
394
+     * @return string data as an XML comment
395 395
      * @access   public
396 396
      */
397 397
     public function &getDebugAsXMLComment()
@@ -411,7 +411,7 @@  discard block
 block discarded – undo
411 411
      *
412 412
      * @param string $val The string in which to expand entities.
413 413
      * @access   private
414
-     * @return mixed|string
414
+     * @return string
415 415
      */
416 416
     public function expandEntities($val)
417 417
     {
@@ -429,7 +429,7 @@  discard block
 block discarded – undo
429 429
     /**
430 430
      * returns error string if present
431 431
      *
432
-     * @return mixed error string or false
432
+     * @return string|false error string or false
433 433
      * @access   public
434 434
      */
435 435
     public function getError()
@@ -445,7 +445,7 @@  discard block
 block discarded – undo
445 445
      * sets error string
446 446
      *
447 447
      * @param $str
448
-     * @return bool $string error string
448
+     * @return boolean|null $string error string
449 449
      * @access   private
450 450
      */
451 451
     public function setError($str)
@@ -906,7 +906,7 @@  discard block
 block discarded – undo
906 906
      * returns false, if not prefixed
907 907
      *
908 908
      * @param  string $str The prefixed string
909
-     * @return mixed  The prefix or false if there is no prefix
909
+     * @return string|false  The prefix or false if there is no prefix
910 910
      * @access public
911 911
      */
912 912
     public function getPrefix($str)
@@ -941,7 +941,7 @@  discard block
 block discarded – undo
941 941
      * or false if no prefixes registered for the given namespace
942 942
      *
943 943
      * @param  string $ns The namespace
944
-     * @return mixed  The prefix, false if the namespace has no prefixes
944
+     * @return string  The prefix, false if the namespace has no prefixes
945 945
      * @access public
946 946
      */
947 947
     public function getPrefixFromNamespace($ns)
@@ -1015,7 +1015,7 @@  discard block
 block discarded – undo
1015 1015
  *
1016 1016
  * @param  int     $timestamp Unix time stamp
1017 1017
  * @param  boolean $utc       Whether the time stamp is UTC or local
1018
- * @return mixed   ISO 8601 date string or false
1018
+ * @return string|false   ISO 8601 date string or false
1019 1019
  * @access   public
1020 1020
  */
1021 1021
 function timestamp_to_iso8601($timestamp, $utc = true)
@@ -1150,7 +1150,7 @@  discard block
 block discarded – undo
1150 1150
      * @param string $faultcode   (SOAP-ENV:Client | SOAP-ENV:Server)
1151 1151
      * @param string $faultactor  only used when msg routed between multiple actors
1152 1152
      * @param string $faultstring human readable error message
1153
-     * @param mixed  $faultdetail detail, typically a string or array of string
1153
+     * @param string  $faultdetail detail, typically a string or array of string
1154 1154
      * @return Nusoap_fault
1155 1155
      */
1156 1156
     public function nusoap_fault($faultcode, $faultactor = '', $faultstring = '', $faultdetail = '')
@@ -2014,7 +2014,7 @@  discard block
 block discarded – undo
2014 2014
      * returns a sample serialization of a given type, or false if no type by the given name
2015 2015
      *
2016 2016
      * @param  string $type name of type
2017
-     * @return mixed
2017
+     * @return string|false
2018 2018
      * @access public
2019 2019
      * @deprecated
2020 2020
      */
@@ -2284,7 +2284,7 @@  discard block
 block discarded – undo
2284 2284
      *
2285 2285
      * @param string $name       optional name
2286 2286
      * @param mixed  $type       optional type name
2287
-     * @param mixed  $value      optional value
2287
+     * @param integer  $value      optional value
2288 2288
      * @param mixed  $element_ns optional namespace of value
2289 2289
      * @param mixed  $type_ns    optional namespace of type
2290 2290
      * @param mixed  $attributes associative array of attributes to add to element serialization
@@ -3108,7 +3108,7 @@  discard block
 block discarded – undo
3108 3108
      *
3109 3109
      * @param  string $data    message data
3110 3110
      * @param  array  $cookies cookies to send
3111
-     * @return boolean true if OK, false if problem
3111
+     * @return boolean|null true if OK, false if problem
3112 3112
      * @access   private
3113 3113
      */
3114 3114
     public function sendRequest($data, $cookies = null)
@@ -3566,7 +3566,7 @@  discard block
 block discarded – undo
3566 3566
      * sets the content-type for the SOAP message to be sent
3567 3567
      *
3568 3568
      * @param string $type    the content type, MIME style
3569
-     * @param mixed  $charset character set used for encoding (or false)
3569
+     * @param string  $charset character set used for encoding (or false)
3570 3570
      * @access  public
3571 3571
      */
3572 3572
     public function setContentType($type, $charset = false)
@@ -3602,6 +3602,10 @@  discard block
 block discarded – undo
3602 3602
     /*
3603 3603
      * TODO: allow a Set-Cookie string to be parsed into multiple cookies
3604 3604
      */
3605
+
3606
+    /**
3607
+     * @param string $cookie_str
3608
+     */
3605 3609
     public function parseCookie($cookie_str)
3606 3610
     {
3607 3611
         $cookie_str = str_replace('; ', ';', $cookie_str) . ';';
@@ -4578,7 +4582,7 @@  discard block
 block discarded – undo
4578 4582
      *
4579 4583
      * @param  array  $headers The HTTP headers
4580 4584
      * @param  string $data    unprocessed request data from client
4581
-     * @return mixed  value of the message, decoded into a PHP type
4585
+     * @return false|null  value of the message, decoded into a PHP type
4582 4586
      * @access   private
4583 4587
      */
4584 4588
     public function parseRequest($headers, $data)
@@ -4699,7 +4703,7 @@  discard block
 block discarded – undo
4699 4703
      * @param string $documentation optional Description to include in WSDL
4700 4704
      * @param string $encodingStyle optional (usually 'http://schemas.xmlsoap.org/soap/encoding/' for encoded)
4701 4705
      * @access   public
4702
-     * @return bool
4706
+     * @return null|boolean
4703 4707
      */
4704 4708
     public function register(
4705 4709
         $name,
@@ -5813,7 +5817,7 @@  discard block
 block discarded – undo
5813 5817
     /**
5814 5818
      * serialize the parsed wsdl
5815 5819
      *
5816
-     * @param  mixed $debug whether to put debug=1 in endpoint URL
5820
+     * @param  integer $debug whether to put debug=1 in endpoint URL
5817 5821
      * @return string serialization of WSDL
5818 5822
      * @access public
5819 5823
      */
@@ -6042,7 +6046,7 @@  discard block
 block discarded – undo
6042 6046
      * @param  string $direction   (input|output)
6043 6047
      * @param  mixed  $parameters  parameter value(s)
6044 6048
      * @param  string $bindingType (soap|soap12)
6045
-     * @return mixed  parameters serialized as XML or false on error (e.g. operation not found)
6049
+     * @return false|string  parameters serialized as XML or false on error (e.g. operation not found)
6046 6050
      * @access public
6047 6051
      */
6048 6052
     public function serializeRPCParameters($operation, $direction, $parameters, $bindingType = 'soap')
@@ -6152,7 +6156,7 @@  discard block
 block discarded – undo
6152 6156
      * @param  string $operation  operation name
6153 6157
      * @param  string $direction  (input|output)
6154 6158
      * @param  mixed  $parameters parameter value(s)
6155
-     * @return mixed  parameters serialized as XML or false on error (e.g. operation not found)
6159
+     * @return false|string  parameters serialized as XML or false on error (e.g. operation not found)
6156 6160
      * @access public
6157 6161
      * @deprecated
6158 6162
      */
@@ -8400,7 +8404,7 @@  discard block
 block discarded – undo
8400 8404
     /**
8401 8405
      * dynamically creates proxy class code
8402 8406
      *
8403
-     * @param $r
8407
+     * @param integer $r
8404 8408
      * @return string PHP/NuSOAP code for the proxy class
8405 8409
      * @access   private
8406 8410
      */
Please login to merge, or discard this patch.
blocks/oledrion_categoy_lists.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
  * Edition des paramètres du bloc
49 49
  *
50 50
  * @param  array $options [0] = Nombre maximum de listes à voir, [1] = Type de listes (0 = les 2, 1 = liste cadeaux, 2 = produits recommandés)
51
- * @return array
51
+ * @return string
52 52
  */
53 53
 function b_oledrion_category_lists_edit($options)
54 54
 {
Please login to merge, or discard this patch.
blocks/oledrion_mostviewed_lists.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
55 55
  * Edition des paramètres du bloc
56 56
  *
57 57
  * @param  array $options [0] = Nombre maximum de listes à voir, [1] = Type de listes (0 = les 2, 1 = liste cadeaux, 2 = produits recommandés)
58
- * @return array
58
+ * @return string
59 59
  */
60 60
 function b_oledrion__mostviewed_lists_edit($options)
61 61
 {
Please login to merge, or discard this patch.
blocks/oledrion_my_lists.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@
 block discarded – undo
59 59
  * Edition des paramètres du bloc
60 60
  *
61 61
  * @param  array $options [0] = Nombre maximum de listes à voir
62
- * @return array
62
+ * @return string
63 63
  */
64 64
 function b_oledrion_my_lists_edit($options)
65 65
 {
Please login to merge, or discard this patch.