Completed
Branch master (9997d9)
by Pierre-Henry
32:47
created
library/Smarty/sysplugins/smarty_internal_smartytemplatecompiler.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@
 block discarded – undo
79 79
      * @param mixed $_content template source
80 80
      * @param bool  $isTemplateSource
81 81
      *
82
-     * @return bool true if compiling succeeded, false if it failed
82
+     * @return string true if compiling succeeded, false if it failed
83 83
      * @throws \SmartyCompilerException
84 84
      */
85 85
     protected function doCompile($_content, $isTemplateSource = false)
Please login to merge, or discard this patch.
_install/library/Smarty/sysplugins/smarty_internal_templatebase.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -140,10 +140,10 @@
 block discarded – undo
140 140
      * @api  Smarty::isCached()
141 141
      * @link http://www.smarty.net/docs/en/api.is.cached.tpl
142 142
      *
143
-     * @param null|string|\Smarty_Internal_Template $template   the resource handle of the template file or template
143
+     * @param string $template   the resource handle of the template file or template
144 144
      *                                                          object
145
-     * @param mixed                                 $cache_id   cache id to be used with this template
146
-     * @param mixed                                 $compile_id compile id to be used with this template
145
+     * @param string|null                                 $cache_id   cache id to be used with this template
146
+     * @param string|null                                 $compile_id compile id to be used with this template
147 147
      * @param object                                $parent     next higher level of Smarty variables
148 148
      *
149 149
      * @return bool cache status
Please login to merge, or discard this patch.
_install/library/Smarty/sysplugins/smarty_internal_templatecompilerbase.php 1 patch
Doc Comments   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -387,7 +387,7 @@  discard block
 block discarded – undo
387 387
      * @param bool                                      $nocache  true is shall be compiled in nocache mode
388 388
      * @param null|Smarty_Internal_TemplateCompilerBase $parent_compiler
389 389
      *
390
-     * @return bool true if compiling succeeded, false if it failed
390
+     * @return string true if compiling succeeded, false if it failed
391 391
      * @throws \Exception
392 392
      */
393 393
     public function compileTemplate(
@@ -750,7 +750,7 @@  discard block
 block discarded – undo
750 750
      * @param string $tag    tag name
751 751
      * @param array  $args   list of tag attributes
752 752
      * @param mixed  $param1 optional parameter
753
-     * @param mixed  $param2 optional parameter
753
+     * @param string  $param2 optional parameter
754 754
      * @param mixed  $param3 optional parameter
755 755
      *
756 756
      * @return bool|string compiled code or false
@@ -772,7 +772,7 @@  discard block
 block discarded – undo
772 772
      *
773 773
      * @param string $tag tag name
774 774
      *
775
-     * @return bool|\Smarty_Internal_CompileBase tag compiler object or false if not found
775
+     * @return integer tag compiler object or false if not found
776 776
      */
777 777
     public function getTagCompiler($tag)
778 778
     {
@@ -796,7 +796,7 @@  discard block
 block discarded – undo
796 796
     /**
797 797
      * Check for plugins and return function name
798 798
      *
799
-     * @param        $plugin_name
799
+     * @param        null|string $plugin_name
800 800
      * @param string $plugin_type type of plugin
801 801
      *
802 802
      * @return string call name of function
@@ -985,7 +985,7 @@  discard block
 block discarded – undo
985 985
      *
986 986
      * @param string $input
987 987
      *
988
-     * @return bool|string
988
+     * @return string|false
989 989
      */
990 990
     public function getId($input)
991 991
     {
@@ -1000,7 +1000,7 @@  discard block
 block discarded – undo
1000 1000
      *
1001 1001
      * @param string $input
1002 1002
      *
1003
-     * @return bool|string
1003
+     * @return string|false
1004 1004
      */
1005 1005
     public function getVariableName($input)
1006 1006
     {
@@ -1186,7 +1186,7 @@  discard block
 block discarded – undo
1186 1186
     }
1187 1187
 
1188 1188
     /**
1189
-     * @param $lexerPreg
1189
+     * @param string $lexerPreg
1190 1190
      *
1191 1191
      * @return mixed
1192 1192
      */
@@ -1444,7 +1444,7 @@  discard block
 block discarded – undo
1444 1444
     /**
1445 1445
      * method to compile a Smarty template
1446 1446
      *
1447
-     * @param mixed $_content template source
1447
+     * @param string $_content template source
1448 1448
      * @param bool  $isTemplateSource
1449 1449
      *
1450 1450
      * @return bool true if compiling succeeded, false if it failed
Please login to merge, or discard this patch.
_install/library/Smarty/sysplugins/smarty_resource.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -120,7 +120,7 @@
 block discarded – undo
120 120
      * @param string $resource_name    template_resource or config_resource to parse
121 121
      * @param string $default_resource the default resource_type defined in $smarty
122 122
      *
123
-     * @return array with parsed resource name and type
123
+     * @return string[] with parsed resource name and type
124 124
      */
125 125
     public static function parseResourceName($resource_name, $default_resource)
126 126
     {
Please login to merge, or discard this patch.
_install/library/Smarty/sysplugins/smarty_security.php 1 patch
Doc Comments   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -264,7 +264,7 @@  discard block
 block discarded – undo
264 264
      * Check if PHP function is trusted.
265 265
      *
266 266
      * @param string $function_name
267
-     * @param object $compiler compiler object
267
+     * @param Smarty_Internal_TemplateCompilerBase $compiler compiler object
268 268
      *
269 269
      * @return boolean                 true if function is trusted
270 270
      */
@@ -303,7 +303,7 @@  discard block
 block discarded – undo
303 303
      *
304 304
      * @param string $class_name
305 305
      * @param string $params
306
-     * @param object $compiler compiler object
306
+     * @param Smarty_Internal_TemplateCompilerBase $compiler compiler object
307 307
      *
308 308
      * @return boolean                 true if class method is trusted
309 309
      */
@@ -340,7 +340,7 @@  discard block
 block discarded – undo
340 340
      * Check if PHP modifier is trusted.
341 341
      *
342 342
      * @param string $modifier_name
343
-     * @param object $compiler compiler object
343
+     * @param Smarty_Internal_TemplateCompilerBase $compiler compiler object
344 344
      *
345 345
      * @return boolean                 true if modifier is trusted
346 346
      */
@@ -359,7 +359,7 @@  discard block
 block discarded – undo
359 359
      * Check if tag is trusted.
360 360
      *
361 361
      * @param string $tag_name
362
-     * @param object $compiler compiler object
362
+     * @param Smarty_Internal_TemplateCompilerBase $compiler compiler object
363 363
      *
364 364
      * @return boolean                 true if tag is trusted
365 365
      */
@@ -397,7 +397,7 @@  discard block
 block discarded – undo
397 397
      * Check if special $smarty variable is trusted.
398 398
      *
399 399
      * @param string $var_name
400
-     * @param object $compiler compiler object
400
+     * @param Smarty_Internal_TemplateCompilerBase $compiler compiler object
401 401
      *
402 402
      * @return boolean                 true if tag is trusted
403 403
      */
@@ -419,7 +419,7 @@  discard block
 block discarded – undo
419 419
      * Check if modifier plugin is trusted.
420 420
      *
421 421
      * @param string $modifier_name
422
-     * @param object $compiler compiler object
422
+     * @param Smarty_Internal_TemplateCompilerBase $compiler compiler object
423 423
      *
424 424
      * @return boolean                 true if tag is trusted
425 425
      */
@@ -458,7 +458,7 @@  discard block
 block discarded – undo
458 458
      * Check if constants are enabled or trusted
459 459
      *
460 460
      * @param string $const    constant name
461
-     * @param object $compiler compiler object
461
+     * @param Smarty_Internal_TemplateCompilerBase $compiler compiler object
462 462
      *
463 463
      * @return bool
464 464
      */
Please login to merge, or discard this patch.
_protected/app/system/core/models/UserCoreModel.php 1 patch
Doc Comments   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -495,6 +495,7 @@  discard block
 block discarded – undo
495 495
      *
496 496
      * @param int iProfileId
497 497
      * @param int $iStatus Values: 0 = Offline, 1 = Online, 2 = Busy, 3 = Away
498
+     * @param integer $iProfileId
498 499
      *
499 500
      * @return void
500 501
      */
@@ -1125,7 +1126,7 @@  discard block
 block discarded – undo
1125 1126
      * @param int|null $iOffset
1126 1127
      * @param int|null $iLimit
1127 1128
      *
1128
-     * @return array|stdClass|int Object with the users list returned or integer for the total number users returned.
1129
+     * @return integer Object with the users list returned or integer for the total number users returned.
1129 1130
      */
1130 1131
     public function getGeoProfiles($sCountryCode, $sCity, $bCount, $sOrder, $iOffset = null, $iLimit = null)
1131 1132
     {
@@ -1442,7 +1443,7 @@  discard block
 block discarded – undo
1442 1443
      *
1443 1444
      * @param int|null $iGroupId Group ID. Select only the specific membership from a group ID.
1444 1445
      *
1445
-     * @return stdClass|array The membership(s) data.
1446
+     * @return string The membership(s) data.
1446 1447
      */
1447 1448
     public function getMemberships($iGroupId = null)
1448 1449
     {
@@ -1607,6 +1608,7 @@  discard block
 block discarded – undo
1607 1608
      * Add countries for members
1608 1609
      *
1609 1610
      * @param string $sCountryCode e.g. en, fr, be, ru, nl, ...
1611
+     * @param string $sTable
1610 1612
      *
1611 1613
      * @return bool|int
1612 1614
      *
Please login to merge, or discard this patch.
_protected/app/system/modules/admin123/controllers/InfoController.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -8,11 +8,9 @@
 block discarded – undo
8 8
 
9 9
 namespace PH7;
10 10
 
11
-use PH7\Framework\Core\Kernel;
12 11
 use PH7\Framework\Mvc\Router\Uri;
13 12
 use PH7\Framework\Security\Version;
14 13
 use PH7\Framework\Url\Header;
15
-use PH7\Framework\Url\Url;
16 14
 
17 15
 class InfoController extends Controller
18 16
 {
Please login to merge, or discard this patch.
_protected/app/system/modules/admin123/inc/class/Module.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,6 +62,9 @@  discard block
 block discarded – undo
62 62
         $this->sRoutePath = PH7_PATH_APP_CONFIG . 'routes/' . $this->sDefLangRoute . Uri::ROUTE_FILE_EXT;
63 63
     }
64 64
 
65
+    /**
66
+     * @param string $sModsDirModFolder
67
+     */
65 68
     public function setPath($sModsDirModFolder)
66 69
     {
67 70
         $this->sModsDirModFolder = $sModsDirModFolder;
@@ -283,7 +286,7 @@  discard block
 block discarded – undo
283 286
      *
284 287
      * @param string $sSwitch The check constant.
285 288
      *
286
-     * @return string Returns the constant if it is correct, otherwise an error message with exit() function.
289
+     * @return integer|null Returns the constant if it is correct, otherwise an error message with exit() function.
287 290
      */
288 291
     private function checkParam($sSwitch)
289 292
     {
Please login to merge, or discard this patch.
_protected/app/system/modules/affiliate/forms/EditForm.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -94,7 +94,7 @@
 block discarded – undo
94 94
     /**
95 95
      * @param HttpRequest $oHttpRequest
96 96
      *
97
-     * @return int
97
+     * @return string
98 98
      */
99 99
     private static function getProfileId(HttpRequest $oHttpRequest)
100 100
     {
Please login to merge, or discard this patch.