Completed
Branch master (4875a3)
by Pierre-Henry
34:00
created
_protected/framework/Translate/Adapter/Gettext/gettext.inc.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -6,9 +6,7 @@
 block discarded – undo
6 6
 defined('PH7') or exit('Restricted access');
7 7
 
8 8
 use PH7\Framework\Translate\Adapter\Gettext\StreamReader;
9
-use PH7\Framework\Translate\Adapter\Gettext\StringReader;
10 9
 use PH7\Framework\Translate\Adapter\Gettext\FileReader;
11
-use PH7\Framework\Translate\Adapter\Gettext\CachedFileReader;
12 10
 
13 11
 
14 12
 /*
Please login to merge, or discard this patch.
_install/library/Smarty/sysplugins/smarty_cacheresource_custom.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -165,7 +165,7 @@
 block discarded – undo
165 165
      *
166 166
      * @param  Smarty_Internal_Template $_template template object
167 167
      *
168
-     * @return string|boolean  content
168
+     * @return string|false  content
169 169
      */
170 170
     public function readCachedContent(Smarty_Internal_Template $_template)
171 171
     {
Please login to merge, or discard this patch.
_install/library/Smarty/sysplugins/smarty_cacheresource_keyvaluestore.php 1 patch
Doc Comments   +5 added lines, -4 removed lines patch added patch discarded remove patch
@@ -269,6 +269,7 @@  discard block
 block discarded – undo
269 269
      * {@internal the header uses 8 Bytes, the first 4 Bytes are the seconds, the second 4 Bytes are the microseconds}}
270 270
      *
271 271
      * @param string &$content the content to be cached
272
+     * @param string $content
272 273
      */
273 274
     protected function addMetaTimestamp(&$content)
274 275
     {
@@ -282,7 +283,7 @@  discard block
 block discarded – undo
282 283
      *
283 284
      * @param  string &$content the cached content
284 285
      *
285
-     * @return float  the microtime the content was cached
286
+     * @return integer  the microtime the content was cached
286 287
      */
287 288
     protected function getMetaTimestamp(&$content)
288 289
     {
@@ -378,7 +379,7 @@  discard block
 block discarded – undo
378 379
      * @param  string $compile_id    compile id
379 380
      * @param  string $resource_uid  source's filepath
380 381
      *
381
-     * @return array  list of InvalidationKeys
382
+     * @return string[]  list of InvalidationKeys
382 383
      * @uses $invalidationKeyPrefix to prepend to each InvalidationKey
383 384
      */
384 385
     protected function listInvalidationKeys($cid, $resource_name = null, $cache_id = null, $compile_id = null,
@@ -470,7 +471,7 @@  discard block
 block discarded – undo
470 471
     /**
471 472
      * Read values for a set of keys from cache
472 473
      *
473
-     * @param  array $keys list of keys to fetch
474
+     * @param  string[] $keys list of keys to fetch
474 475
      *
475 476
      * @return array list of values with the given keys used as indexes
476 477
      */
@@ -489,7 +490,7 @@  discard block
 block discarded – undo
489 490
     /**
490 491
      * Remove values from cache
491 492
      *
492
-     * @param  array $keys list of keys to delete
493
+     * @param  string[] $keys list of keys to delete
493 494
      *
494 495
      * @return boolean true on success, false on failure
495 496
      */
Please login to merge, or discard this patch.
_install/library/Smarty/sysplugins/smarty_internal_compile_setfilter.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
      * @param \Smarty_Internal_TemplateCompilerBase $compiler  compiler object
24 24
      * @param  array                                $parameter array with compilation parameter
25 25
      *
26
-     * @return string compiled code
26
+     * @return boolean compiled code
27 27
      */
28 28
     public function compile($args, Smarty_Internal_TemplateCompilerBase $compiler, $parameter)
29 29
     {
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
      * @param  array                                $args     array with attributes from parser
52 52
      * @param \Smarty_Internal_TemplateCompilerBase $compiler compiler object
53 53
      *
54
-     * @return string compiled code
54
+     * @return boolean compiled code
55 55
      */
56 56
     public function compile($args, Smarty_Internal_TemplateCompilerBase $compiler)
57 57
     {
Please login to merge, or discard this patch.
_install/library/Smarty/sysplugins/smarty_internal_data.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
      * @link http://www.smarty.net/docs/en/api.append.tpl
120 120
      *
121 121
      * @param  array|string $tpl_var                                           the template variable name(s)
122
-     * @param  mixed        $value                                             the value to append
122
+     * @param  string        $value                                             the value to append
123 123
      * @param  bool         $merge                                             flag if array elements shall be merged
124 124
      * @param  bool         $nocache                                           if true any output of this variable will
125 125
      *                                                                         be not cached
Please login to merge, or discard this patch.
_install/library/Smarty/sysplugins/smarty_internal_template.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -259,8 +259,8 @@
 block discarded – undo
259 259
      * Runtime function to render sub-template
260 260
      *
261 261
      * @param string  $template       template name
262
-     * @param mixed   $cache_id       cache id
263
-     * @param mixed   $compile_id     compile id
262
+     * @param string   $cache_id       cache id
263
+     * @param string   $compile_id     compile id
264 264
      * @param integer $caching        cache mode
265 265
      * @param integer $cache_lifetime life time of cache data
266 266
      * @param array   $data           passed parameter template variables
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
@@ -183,7 +183,7 @@
 block discarded – undo
183 183
      * @param  string $resource_name    template_resource or config_resource to parse
184 184
      * @param  string $default_resource the default resource_type defined in $smarty
185 185
      *
186
-     * @return array with parsed resource name and type
186
+     * @return string[] with parsed resource name and type
187 187
      */
188 188
     public static function parseResourceName($resource_name, $default_resource)
189 189
     {
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
@@ -266,7 +266,7 @@  discard block
 block discarded – undo
266 266
      * Check if PHP function is trusted.
267 267
      *
268 268
      * @param  string $function_name
269
-     * @param  object $compiler compiler object
269
+     * @param  Smarty_Internal_TemplateCompilerBase $compiler compiler object
270 270
      *
271 271
      * @return boolean                 true if function is trusted
272 272
      * @throws SmartyCompilerException if php function is not trusted
@@ -311,7 +311,7 @@  discard block
 block discarded – undo
311 311
      *
312 312
      * @param  string $class_name
313 313
      * @param  string $params
314
-     * @param  object $compiler compiler object
314
+     * @param  Smarty_Internal_TemplateCompilerBase $compiler compiler object
315 315
      *
316 316
      * @return boolean                 true if class method is trusted
317 317
      * @throws SmartyCompilerException if static class method is not trusted
@@ -349,7 +349,7 @@  discard block
 block discarded – undo
349 349
      * Check if PHP modifier is trusted.
350 350
      *
351 351
      * @param  string $modifier_name
352
-     * @param  object $compiler compiler object
352
+     * @param  Smarty_Internal_TemplateCompilerBase $compiler compiler object
353 353
      *
354 354
      * @return boolean                 true if modifier is trusted
355 355
      * @throws SmartyCompilerException if modifier is not trusted
@@ -371,7 +371,7 @@  discard block
 block discarded – undo
371 371
      * Check if tag is trusted.
372 372
      *
373 373
      * @param  string $tag_name
374
-     * @param  object $compiler compiler object
374
+     * @param  Smarty_Internal_TemplateCompilerBase $compiler compiler object
375 375
      *
376 376
      * @return boolean                 true if tag is trusted
377 377
      * @throws SmartyCompilerException if modifier is not trusted
@@ -406,7 +406,7 @@  discard block
 block discarded – undo
406 406
      * Check if special $smarty variable is trusted.
407 407
      *
408 408
      * @param  string $var_name
409
-     * @param  object $compiler compiler object
409
+     * @param  Smarty_Internal_TemplateCompilerBase $compiler compiler object
410 410
      *
411 411
      * @return boolean                 true if tag is trusted
412 412
      * @throws SmartyCompilerException if modifier is not trusted
@@ -427,7 +427,7 @@  discard block
 block discarded – undo
427 427
      * Check if modifier plugin is trusted.
428 428
      *
429 429
      * @param  string $modifier_name
430
-     * @param  object $compiler compiler object
430
+     * @param  Smarty_Internal_TemplateCompilerBase $compiler compiler object
431 431
      *
432 432
      * @return boolean                 true if tag is trusted
433 433
      * @throws SmartyCompilerException if modifier is not trusted
@@ -462,7 +462,7 @@  discard block
 block discarded – undo
462 462
      * Check if constants are enabled or trusted
463 463
      *
464 464
      * @param  string $const    constant name
465
-     * @param  object $compiler compiler object
465
+     * @param  Smarty_Internal_TemplateCompilerBase $compiler compiler object
466 466
      *
467 467
      * @return bool
468 468
      */
Please login to merge, or discard this patch.
_protected/framework/Layout/Tpl/Engine/PH7Tpl/PH7Tpl.class.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -605,7 +605,7 @@  discard block
 block discarded – undo
605 605
      *
606 606
      * @see __get()
607 607
      *
608
-     * @param $sVarName string Name of a variable that is to be retrieved.
608
+     * @param string $sVarName string Name of a variable that is to be retrieved.
609 609
      *
610 610
      * @return mixed Value of that variable.
611 611
      */
@@ -827,7 +827,7 @@  discard block
 block discarded – undo
827 827
     /**
828 828
      * Get the reserved variables.
829 829
      *
830
-     * @return array
830
+     * @return string[]
831 831
      */
832 832
     public function getReservedWords()
833 833
     {
@@ -886,7 +886,7 @@  discard block
 block discarded – undo
886 886
     /**
887 887
      * Checks if the template file in the $this->sTemplateDirFile attribute is the main page (layout.tpl).
888 888
      *
889
-     * @return boolean
889
+     * @return integer
890 890
      */
891 891
     private function isMainPage()
892 892
     {
@@ -896,7 +896,7 @@  discard block
 block discarded – undo
896 896
     /**
897 897
      * Checks if the compile file in the $this->sCompileDirFile attribute is the main page (layout.cpl.php).
898 898
      *
899
-     * @return boolean
899
+     * @return integer
900 900
      */
901 901
     final private function isMainCompilePage()
902 902
     {
@@ -906,7 +906,7 @@  discard block
 block discarded – undo
906 906
     /**
907 907
      * Checks if the compile file in the $this->sCompileDirFile attribute is the XML (with XSL layout) Sitemap page (mainlayout.xsl.cpl.php).
908 908
      *
909
-     * @return boolean
909
+     * @return integer
910 910
      */
911 911
     final private function isXmlSitemapCompilePage()
912 912
     {
Please login to merge, or discard this patch.