Test Failed
Branch develop (745f3d)
by Felipe
08:34 queued 04:38
created
src/controllers/SequencesController.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -379,6 +379,7 @@
 block discarded – undo
379 379
 
380 380
     /**
381 381
      * Drop a sequence
382
+     * @param boolean $confirm
382 383
      */
383 384
     public function doDrop($confirm, $msg = '')
384 385
     {
Please login to merge, or discard this patch.
src/controllers/SqleditController.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -119,6 +119,7 @@
 block discarded – undo
119 119
 
120 120
     /**
121 121
      * Private function to display server and list of databases
122
+     * @param string $action
122 123
      */
123 124
     public function _printConnection($action)
124 125
     {
Please login to merge, or discard this patch.
src/controllers/TablesController.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -665,6 +665,7 @@  discard block
 block discarded – undo
665 665
      * Dsiplay a screen where user can create a table from an existing one.
666 666
      * We don't have to check if pg supports schema cause create table like
667 667
      * is available under pg 7.4+ which has schema.
668
+     * @param boolean $confirm
668 669
      */
669 670
     public function doCreateLike($confirm, $msg = '')
670 671
     {
@@ -779,6 +780,7 @@  discard block
 block discarded – undo
779 780
 
780 781
     /**
781 782
      * Ask for select parameters and perform select
783
+     * @param boolean $confirm
782 784
      */
783 785
     public function doSelectRows($confirm, $msg = '')
784 786
     {
@@ -905,6 +907,7 @@  discard block
 block discarded – undo
905 907
 
906 908
     /**
907 909
      * Ask for insert parameters and then actually insert row
910
+     * @param boolean $confirm
908 911
      */
909 912
     public function doInsertRow($confirm, $msg = '')
910 913
     {
@@ -1052,6 +1055,7 @@  discard block
 block discarded – undo
1052 1055
 
1053 1056
     /**
1054 1057
      * Show confirmation of empty and perform actual empty
1058
+     * @param boolean $confirm
1055 1059
      */
1056 1060
     public function doEmpty($confirm)
1057 1061
     {
@@ -1120,6 +1124,7 @@  discard block
 block discarded – undo
1120 1124
 
1121 1125
     /**
1122 1126
      * Show confirmation of drop and perform actual drop
1127
+     * @param boolean $confirm
1123 1128
      */
1124 1129
     public function doDrop($confirm)
1125 1130
     {
Please login to merge, or discard this patch.
src/database/Connection.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -174,7 +174,7 @@
 block discarded – undo
174 174
     /**
175 175
      * Get the last error in the connection
176 176
      *
177
-     * @return Error string
177
+     * @return string string
178 178
      */
179 179
     public function getLastError()
180 180
     {
Please login to merge, or discard this patch.
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/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.