Completed
Branch master (b43d3d)
by Pierre-Henry
35:32
created
_protected/library/Service/Microsoft/Live/oauth_client.php 1 patch
Doc Comments   +21 added lines patch added patch discarded remove patch
@@ -596,6 +596,9 @@  discard block
 block discarded – undo
596 596
         return(false);
597 597
     }
598 598
 
599
+    /**
600
+     * @param string $error
601
+     */
599 602
     Function SetPHPError($error, &$php_error_message)
600 603
     {
601 604
         if(IsSet($php_error_message)
@@ -604,6 +607,9 @@  discard block
 block discarded – undo
604 607
         return($this->SetError($error));
605 608
     }
606 609
 
610
+    /**
611
+     * @param string $message
612
+     */
607 613
     Function OutputDebug($message)
608 614
     {
609 615
         if($this->debug)
@@ -655,6 +661,9 @@  discard block
 block discarded – undo
655 661
         return(true);
656 662
     }
657 663
 
664
+    /**
665
+     * @param string $error
666
+     */
658 667
     Function GetRequestError(&$error)
659 668
     {
660 669
         $error = (IsSet($_GET['error']) ? $_GET['error'] : null);
@@ -849,6 +858,11 @@  discard block
 block discarded – undo
849 858
         return $array;
850 859
     }
851 860
 
861
+    /**
862
+     * @param string $function
863
+     * @param string $data
864
+     * @param string $key
865
+     */
852 866
     Function HMAC($function, $data, $key)
853 867
     {
854 868
         switch($function)
@@ -1146,6 +1160,10 @@  discard block
 block discarded – undo
1146 1160
         <do>
1147 1161
 {/metadocument}
1148 1162
 */
1163
+    /**
1164
+     * @param string $url
1165
+     * @param string $method
1166
+     */
1149 1167
     Function CallAPI($url, $method, $parameters, $options, &$response)
1150 1168
     {
1151 1169
         if(!IsSet($options['Resource']))
@@ -1735,6 +1753,9 @@  discard block
 block discarded – undo
1735 1753
         <do>
1736 1754
 {/metadocument}
1737 1755
 */
1756
+    /**
1757
+     * @param boolean $success
1758
+     */
1738 1759
     Function Finalize($success)
1739 1760
     {
1740 1761
         return($success);
Please login to merge, or discard this patch.
_protected/library/Service/Twitter/tmhOAuth.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -107,7 +107,7 @@  discard block
 block discarded – undo
107 107
    * Generates a random OAuth nonce.
108 108
    * If 'force_nonce' is true a nonce is not generated and the value in the configuration will be retained.
109 109
    *
110
-   * @param string $length how many characters the nonce should be before MD5 hashing. default 12
110
+   * @param integer $length how many characters the nonce should be before MD5 hashing. default 12
111 111
    * @param string $include_time whether to include time at the beginning of the nonce. default true
112 112
    * @return void
113 113
    */
@@ -502,7 +502,7 @@  discard block
 block discarded – undo
502 502
    *
503 503
    * @param object $ch curl handle
504 504
    * @param string $header the response headers
505
-   * @return the string length of the header
505
+   * @return integer string length of the header
506 506
    */
507 507
   private function curlHeader($ch, $header) {
508 508
     $this->response['raw'] .= $header;
Please login to merge, or discard this patch.
_protected/library/Service/Twitter/tmhUtilities.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -212,7 +212,7 @@  discard block
 block discarded – undo
212 212
    * Asks the user for input and returns the line they enter
213 213
    *
214 214
    * @param string $prompt the text to display to the user
215
-   * @return the text entered by the user
215
+   * @return string text entered by the user
216 216
    */
217 217
   public static function read_input($prompt) {
218 218
     echo $prompt;
@@ -267,7 +267,7 @@  discard block
 block discarded – undo
267 267
    *
268 268
    * @param string $haystack the string to check inside of
269 269
    * @param string $needle the string to check $haystack ends with
270
-   * @return true if $haystack ends with $needle, false otherwise
270
+   * @return boolean if $haystack ends with $needle, false otherwise
271 271
    */
272 272
   public static function endswith($haystack, $needle) {
273 273
     $haylen  = strlen($haystack);
Please login to merge, or discard this patch.
_install/library/Smarty/sysplugins/smarty_internal_compile_block.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
      * @param  \Smarty_Internal_TemplateCompilerBase $compiler  compiler object
69 69
      * @param  array                                 $parameter array with compilation parameter
70 70
      *
71
-     * @return bool true
71
+     * @return boolean|null true
72 72
      */
73 73
     public function compile($args, Smarty_Internal_TemplateCompilerBase $compiler, $parameter)
74 74
     {
@@ -159,7 +159,7 @@  discard block
 block discarded – undo
159 159
      * @param \Smarty_Internal_TemplateCompilerBase $compiler  compiler object
160 160
      * @param  array                                $parameter array with compilation parameter
161 161
      *
162
-     * @return bool true
162
+     * @return string true
163 163
      */
164 164
     public function compile($args, Smarty_Internal_TemplateCompilerBase $compiler, $parameter)
165 165
     {
Please login to merge, or discard this patch.
_install/library/Smarty/sysplugins/smarty_internal_compile_extends.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -119,7 +119,7 @@
 block discarded – undo
119 119
     /**
120 120
      * Create source code for {extends} from source components array
121 121
      *
122
-     * @param []\Smarty_Internal_Template_Source $components
122
+     * @param Smarty_Template_Source[] $components
123 123
      *
124 124
      * @return string
125 125
      */
Please login to merge, or discard this patch.
_install/library/Smarty/sysplugins/smarty_internal_compile_function.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -93,7 +93,7 @@
 block discarded – undo
93 93
      * Compiles code for the {/function} tag
94 94
      *
95 95
      * @param  array                                       $args      array with attributes from parser
96
-     * @param object|\Smarty_Internal_TemplateCompilerBase $compiler  compiler object
96
+     * @param Smarty_Internal_TemplateCompilerBase $compiler  compiler object
97 97
      * @param  array                                       $parameter array with compilation parameter
98 98
      *
99 99
      * @return bool true
Please login to merge, or discard this patch.
_install/library/Smarty/sysplugins/smarty_internal_config_file_compiler.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -96,7 +96,7 @@
 block discarded – undo
96 96
      *
97 97
      * @param Smarty_Internal_Template $template
98 98
      *
99
-     * @return bool true if compiling succeeded, false if it failed
99
+     * @return string true if compiling succeeded, false if it failed
100 100
      */
101 101
     public function compileTemplate(Smarty_Internal_Template $template)
102 102
     {
Please login to merge, or discard this patch.
_install/library/Smarty/sysplugins/smarty_internal_debug.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
      * Start logging template
49 49
      *
50 50
      * @param \Smarty_Internal_Template $template template
51
-     * @param null                      $mode     true: display   false: fetch  null: subtemplate
51
+     * @param null|boolean                      $mode     true: display   false: fetch  null: subtemplate
52 52
      */
53 53
     public function start_template(Smarty_Internal_Template $template, $mode = null)
54 54
     {
@@ -191,7 +191,7 @@  discard block
 block discarded – undo
191 191
     /**
192 192
      * Opens a window for the Smarty Debugging Console and display the data
193 193
      *
194
-     * @param Smarty_Internal_Template|Smarty $obj object to debug
194
+     * @param Smarty_Internal_Template $obj object to debug
195 195
      * @param bool                            $full
196 196
      */
197 197
     public function display_debug($obj, $full = false)
Please login to merge, or discard this patch.
library/Smarty/sysplugins/smarty_internal_method_getstreamvariable.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
      * @param \Smarty_Internal_Data|\Smarty_Internal_Template|\Smarty $data
27 27
      * @param  string                                                 $variable the stream of the variable
28 28
      *
29
-     * @return mixed
29
+     * @return string|null
30 30
      * @throws \SmartyException
31 31
      */
32 32
     public function getStreamVariable(Smarty_Internal_Data $data, $variable)
Please login to merge, or discard this patch.