Test Failed
Push — develop ( 745f3d...db5506 )
by Felipe
10:43 queued 06:47
created
src/database/Postgres74.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -423,7 +423,7 @@
 block discarded – undo
423 423
         /**
424 424
          * Returns the current default_with_oids setting
425 425
          *
426
-         * @return default_with_oids setting
426
+         * @return string setting
427 427
          */
428 428
         public function getDefaultWithOid()
429 429
         {
Please login to merge, or discard this patch.
src/decorators/Decorator.php 1 patch
Doc Comments   +22 added lines patch added patch discarded remove patch
@@ -15,6 +15,9 @@  discard block
 block discarded – undo
15 15
         return $this->v;
16 16
     }
17 17
 
18
+    /**
19
+     * @param string $esc
20
+     */
18 21
     public static function get_sanitized_value(&$var, &$fields, $esc = null)
19 22
     {
20 23
 
@@ -54,6 +57,9 @@  discard block
 block discarded – undo
54 57
         }
55 58
     }
56 59
 
60
+    /**
61
+     * @param string $attr
62
+     */
57 63
     public static function value_xml_attr_tag($attr, &$var, &$fields)
58 64
     {
59 65
         $val = self::get_sanitized_value($var, $fields, 'xml');
@@ -64,6 +70,9 @@  discard block
 block discarded – undo
64 70
         }
65 71
     }
66 72
 
73
+    /**
74
+     * @param \Closure $callback
75
+     */
67 76
     public static function callback($callback, $params = null)
68 77
     {
69 78
         return new \PHPPgAdmin\Decorators\CallbackDecorator($callback, $params);
@@ -79,11 +88,17 @@  discard block
 block discarded – undo
79 88
         return new \PHPPgAdmin\Decorators\ConcatDecorator(func_get_args());
80 89
     }
81 90
 
91
+    /**
92
+     * @param string $str
93
+     */
82 94
     public static function replace($str, $params)
83 95
     {
84 96
         return new \PHPPgAdmin\Decorators\ReplaceDecorator($str, $params);
85 97
     }
86 98
 
99
+    /**
100
+     * @param string $fieldName
101
+     */
87 102
     public static function field($fieldName, $default = null)
88 103
     {
89 104
         return new FieldDecorator($fieldName, $default);
@@ -117,6 +132,9 @@  discard block
 block discarded – undo
117 132
         return new ActionUrlDecorator($base, $vars);
118 133
     }
119 134
 
135
+    /**
136
+     * @param string $base
137
+     */
120 138
     public static function redirecturl($base, $vars = null/* ... */)
121 139
     {
122 140
         // If more than one array of vars is given,
@@ -145,6 +163,10 @@  discard block
 block discarded – undo
145 163
         return new UrlDecorator($base, $vars);
146 164
     }
147 165
 
166
+    /**
167
+     * @param FieldDecorator $value
168
+     * @param string $empty
169
+     */
148 170
     public static function ifempty($value, $empty, $full = null)
149 171
     {
150 172
         return new IfEmptyDecorator($value, $empty, $full);
Please login to merge, or discard this patch.
src/xhtml/HTMLController.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -24,6 +24,10 @@  discard block
 block discarded – undo
24 24
     public $_title          = 'base';
25 25
 
26 26
     /* Constructor */
27
+
28
+    /**
29
+     * @param string $controller_name
30
+     */
27 31
     public function __construct(\Slim\Container $container, $controller_name = null)
28 32
     {
29 33
         $this->container      = $container;
@@ -58,6 +62,7 @@  discard block
 block discarded – undo
58 62
      *            'urlvars' => Associative array of (URL variable => field name)
59 63
      *                        these are appended to the URL
60 64
      * @param $fields Field data from which 'urlfield' and 'vars' are obtained.
65
+     * @return string
61 66
      */
62 67
     protected function getActionUrl(&$action, &$fields, $from = null)
63 68
     {
Please login to merge, or discard this patch.
src/xhtml/HTMLFooterController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
 
67 67
     /**
68 68
      * Outputs JavaScript code that will reload the browser
69
-     * @param $database True if dropping a database, false otherwise
69
+     * @param boolean $database True if dropping a database, false otherwise
70 70
      * @param $do_print true to echo, false to return;
71 71
      */
72 72
     public function printReload($database, $do_print = true)
Please login to merge, or discard this patch.
src/xhtml/HTMLNavbarController.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -357,6 +357,9 @@  discard block
 block discarded – undo
357 357
         }
358 358
     }
359 359
 
360
+    /**
361
+     * @param string $subject
362
+     */
360 363
     private function getHREFSubject($subject)
361 364
     {
362 365
         $vars = $this->misc->getSubjectParams($subject);
@@ -367,6 +370,7 @@  discard block
 block discarded – undo
367 370
     /**
368 371
      * Create a bread crumb trail of the object hierarchy.
369 372
      * @param $object The type of object at the end of the trail.
373
+     * @param string $subject
370 374
      */
371 375
     private function getTrail($subject = null)
372 376
     {
Please login to merge, or discard this patch.
src/xhtml/TreeController.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -24,6 +24,10 @@
 block discarded – undo
24 24
     public $_title          = 'base';
25 25
 
26 26
     /* Constructor */
27
+
28
+    /**
29
+     * @param string $controller_name
30
+     */
27 31
     public function __construct(\Slim\Container $container, $controller_name = null)
28 32
     {
29 33
         $this->container = $container;
Please login to merge, or discard this patch.
src/xhtml/XHtmlSelect.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -6,6 +6,10 @@
 block discarded – undo
6 6
 {
7 7
     public $_data;
8 8
 
9
+    /**
10
+     * @param string $name
11
+     * @param integer $size
12
+     */
9 13
     public function __construct($name, $multiple = false, $size = null)
10 14
     {
11 15
         parent::__construct();
Please login to merge, or discard this patch.
src/xhtml/XHtmlSimpleElement.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -32,6 +32,9 @@  discard block
 block discarded – undo
32 32
         $this->_element = $this->is_element();
33 33
     }
34 34
 
35
+    /**
36
+     * @param string $style
37
+     */
35 38
     public function set_style($style)
36 39
     {
37 40
         $this->set_attribute('style', $style);
@@ -85,6 +88,9 @@  discard block
 block discarded – undo
85 88
         echo $this->fetch();
86 89
     }
87 90
 
91
+    /**
92
+     * @param string $attr
93
+     */
88 94
     public function set_attribute($attr, $value)
89 95
     {
90 96
         $this->_attributes[$attr] = $value;
Please login to merge, or discard this patch.
src/controllers/SchemasController.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -237,6 +237,7 @@
 block discarded – undo
237 237
 
238 238
     /**
239 239
      * Show confirmation of drop and perform actual drop
240
+     * @param boolean $confirm
240 241
      */
241 242
     public function doDrop($confirm)
242 243
     {
Please login to merge, or discard this patch.