Test Failed
Branch develop (eaf877)
by Felipe
11:06
created
src/controllers/SchemasController.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -430,6 +430,7 @@
 block discarded – undo
430 430
 
431 431
     /**
432 432
      * Show confirmation of drop and perform actual drop
433
+     * @param boolean $confirm
433 434
      */
434 435
     public function doDrop($confirm)
435 436
     {
Please login to merge, or discard this patch.
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/controllers/TablespacesController.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -255,6 +255,7 @@
 block discarded – undo
255 255
 
256 256
     /**
257 257
      * Show confirmation of drop and perform actual drop
258
+     * @param boolean $confirm
258 259
      */
259 260
     public function doDrop($confirm)
260 261
     {
Please login to merge, or discard this patch.
src/controllers/ViewsController.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -285,6 +285,7 @@  discard block
 block discarded – undo
285 285
 
286 286
     /**
287 287
      * Ask for select parameters and perform select
288
+     * @param boolean $confirm
288 289
      */
289 290
     public function doSelectRows($confirm, $msg = '')
290 291
     {
@@ -414,6 +415,7 @@  discard block
 block discarded – undo
414 415
 
415 416
     /**
416 417
      * Show confirmation of drop and perform actual drop
418
+     * @param boolean $confirm
417 419
      */
418 420
     public function doDrop($confirm)
419 421
     {
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.