Completed
Push — travis20190209 ( 3ec0b4...6d3fda )
by Richard
05:13
created
htdocs/xoops_lib/Xmf/Yaml.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
      * @param integer $inline Nesting level where you switch to inline YAML
45 45
      * @param integer $indent Number of spaces to indent for nested nodes
46 46
      *
47
-     * @return string|bool YAML string or false on error
47
+     * @return string|false YAML string or false on error
48 48
      */
49 49
     public static function dump($var, $inline = 4, $indent = 4)
50 50
     {
@@ -102,7 +102,7 @@  discard block
 block discarded – undo
102 102
      * @param integer $inline   Nesting level where you switch to inline YAML
103 103
      * @param integer $indent   Number of spaces to indent for nested nodes
104 104
      *
105
-     * @return integer|boolean number of bytes written, or false on error
105
+     * @return null|false number of bytes written, or false on error
106 106
      */
107 107
     public static function save($var, $yamlFile, $inline = 4, $indent = 4)
108 108
     {
@@ -128,7 +128,7 @@  discard block
 block discarded – undo
128 128
      * @param integer $inline Nesting level where you switch to inline YAML
129 129
      * @param integer $indent Number of spaces to indent for nested nodes
130 130
      *
131
-     * @return string|boolean YAML string or false on error
131
+     * @return string|false YAML string or false on error
132 132
      */
133 133
     public static function dumpWrapped($var, $inline = 4, $indent = 4)
134 134
     {
@@ -218,7 +218,7 @@  discard block
 block discarded – undo
218 218
      * @param integer $inline   Nesting level where you switch to inline YAML
219 219
      * @param integer $indent   Number of spaces to indent for nested nodes
220 220
      *
221
-     * @return integer|boolean number of bytes written, or false on error
221
+     * @return null|false number of bytes written, or false on error
222 222
      */
223 223
     public static function saveWrapped($var, $yamlFile, $inline = 4, $indent = 4)
224 224
     {
Please login to merge, or discard this patch.
htdocs/xoops_lib/Xoops/Core/Cache/Access.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -141,7 +141,7 @@
 block discarded – undo
141 141
     /**
142 142
      * Garbage collection - remove all expired and deleted data
143 143
      *
144
-     * @return void
144
+     * @return boolean
145 145
      */
146 146
     public function garbageCollect()
147 147
     {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,6 @@
 block discarded – undo
11 11
 
12 12
 namespace Xoops\Core\Cache;
13 13
 
14
-use Stash\Pool;
15 14
 use Stash\Invalidation;
16 15
 use Stash\Interfaces\PoolInterface;
17 16
 
Please login to merge, or discard this patch.
htdocs/xoops_lib/Xoops/Core/Cache/CacheManager.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -197,7 +197,7 @@
 block discarded – undo
197 197
      * @param string $driverName short name of the driver
198 198
      * @param array  $options    array of options for the driver
199 199
      *
200
-     * @return DriverInterface|false driver object or false if it could not be instantiated
200
+     * @return null|DriverInterface driver object or false if it could not be instantiated
201 201
      */
202 202
     protected function getDriver($driverName, $options)
203 203
     {
Please login to merge, or discard this patch.
htdocs/xoops_lib/Xoops/Core/Database/Factory.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
      *
44 44
      * @param array $options driverOptions for Doctrine
45 45
      *
46
-     * @return Connection|null Reference to the only instance of database class
46
+     * @return \Doctrine\DBAL\Connection Reference to the only instance of database class
47 47
      *
48 48
      * @todo change driver to support other databases and support for port, unix_socket and driver options.
49 49
      */
Please login to merge, or discard this patch.
htdocs/xoops_lib/Xoops/Core/Text/Sanitizer/Extensions/Embed.php 1 patch
Doc Comments   +7 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
      *
40 40
      * @param string $text text string to filter
41 41
      *
42
-     * @return mixed
42
+     * @return string
43 43
      */
44 44
     public function applyFilter($text)
45 45
     {
@@ -105,6 +105,12 @@  discard block
 block discarded – undo
105 105
         return $decorated;
106 106
     }
107 107
 
108
+    /**
109
+     * @param null|string $link
110
+     * @param null|string $imageSrc
111
+     * @param null|string $title
112
+     * @param null|string $description
113
+     */
108 114
     protected function mediaBox($link, $imageSrc, $title, $description)
109 115
     {
110 116
         $htmlTemplate = <<<'EOT'
Please login to merge, or discard this patch.
htdocs/xoops_lib/Xoops/Core/XoopsTpl.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -109,8 +109,8 @@
 block discarded – undo
109 109
      * XoopsTpl::setCompileId()
110 110
      *
111 111
      * @param mixed $module_dirname module directory
112
-     * @param mixed $theme_set      theme set
113
-     * @param mixed $template_set   template set
112
+     * @param string $theme_set      theme set
113
+     * @param string $template_set   template set
114 114
      *
115 115
      * @return void
116 116
      */
Please login to merge, or discard this patch.
upgrade/index.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -48,6 +48,11 @@
 block discarded – undo
48 48
     return $dirlist;
49 49
 }
50 50
 
51
+/**
52
+ * @param Xoops\Core\Database\Connection $db
53
+ * @param string $table
54
+ * @param string $field
55
+ */
51 56
 function getDbValue($db, $table, $field, $condition = '')
52 57
 {
53 58
     $xoops = Xoops::getInstance();
Please login to merge, or discard this patch.
console/Commands/InstallModuleCommand.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@
 block discarded – undo
6 6
 use Symfony\Component\Console\Input\InputInterface;
7 7
 use Symfony\Component\Console\Output\OutputInterface;
8 8
 use Symfony\Component\Console\Input\InputArgument;
9
-use Symfony\Component\Console\Input\InputOption;
10 9
 use Xoops\Core\XoopsTpl;
11 10
 
12 11
 class InstallModuleCommand extends Command
Please login to merge, or discard this patch.
console/Commands/SetConfigCommand.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@
 block discarded – undo
6 6
 use Symfony\Component\Console\Input\InputInterface;
7 7
 use Symfony\Component\Console\Output\OutputInterface;
8 8
 use Symfony\Component\Console\Input\InputArgument;
9
-use Symfony\Component\Console\Input\InputOption;
10 9
 use Xoops\Core\Kernel\Criteria;
11 10
 use Xoops\Core\Kernel\CriteriaCompo;
12 11
 
Please login to merge, or discard this patch.