Completed
Branch master (2d3d98)
by Pierre-Henry
62:03 queued 27:19
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.
_repository/module/fake-admin-panel/inc/class/Logger.php 2 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
      * Build the log message.
76 76
      *
77 77
      * @access protected
78
-     * @return object this
78
+     * @return Logger this
79 79
      */
80 80
      protected function setLogMsg()
81 81
      {
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
      * Write a log file with the hacher information.
101 101
      *
102 102
      * @access protected
103
-     * @return object this
103
+     * @return Logger this
104 104
      */
105 105
     protected function writeFile()
106 106
     {
@@ -114,7 +114,7 @@  discard block
 block discarded – undo
114 114
      * Blocking IP address.
115 115
      *
116 116
      * @access protected
117
-     * @return object this
117
+     * @return Logger this
118 118
      */
119 119
     protected function blockIp()
120 120
     {
Please login to merge, or discard this patch.
Unused Use Statements   +4 added lines, -5 removed lines patch added patch discarded remove patch
@@ -11,11 +11,10 @@
 block discarded – undo
11 11
 
12 12
 namespace PH7;
13 13
 
14
-use
15
-PH7\Framework\Security\Ban\Ban,
16
-PH7\Framework\Http\Http,
17
-PH7\Framework\Ip\Ip,
18
-PH7\Framework\Mail\Mail;
14
+use PH7\Framework\Security\Ban\Ban;
15
+use PH7\Framework\Http\Http;
16
+use PH7\Framework\Ip\Ip;
17
+use PH7\Framework\Mail\Mail;
19 18
 
20 19
 class Logger extends Core
21 20
 {
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.