Completed
Push — master ( 77e87d...17f8d0 )
by Harald
04:52
created
catalog/includes/OSC/OM/Db.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -69,6 +69,9 @@  discard block
 block discarded – undo
69 69
         return parent::exec($statement);
70 70
     }
71 71
 
72
+    /**
73
+     * @param string $statement
74
+     */
72 75
     public function prepare($statement, $driver_options = null)
73 76
     {
74 77
         $statement = $this->autoPrefixTables($statement);
@@ -80,6 +83,9 @@  discard block
 block discarded – undo
80 83
         return $DbStatement;
81 84
     }
82 85
 
86
+    /**
87
+     * @param string $statement
88
+     */
83 89
     public function query($statement)
84 90
     {
85 91
         $statement = $this->autoPrefixTables($statement);
Please login to merge, or discard this patch.
catalog/includes/OSC/OM/DbStatement.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -32,6 +32,9 @@
 block discarded – undo
32 32
         return parent::bindValue($parameter, $value, $data_type);
33 33
     }
34 34
 
35
+    /**
36
+     * @param string $parameter
37
+     */
35 38
     public function bindInt($parameter, $value)
36 39
     {
37 40
 // force type to int (see http://bugs.php.net/bug.php?id=44639)
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,6 @@
 block discarded – undo
8 8
 
9 9
 namespace OSC\OM;
10 10
 
11
-use OSC\OM\Db;
12 11
 use OSC\OM\HTML;
13 12
 use OSC\OM\OSCOM;
14 13
 use OSC\OM\Registry;
Please login to merge, or discard this patch.
catalog/includes/OSC/OM/HTML.php 1 patch
Doc Comments   +13 added lines patch added patch discarded remove patch
@@ -99,6 +99,10 @@  discard block
 block discarded – undo
99 99
         return $image;
100 100
     }
101 101
 
102
+    /**
103
+     * @param string $name
104
+     * @param string $action
105
+     */
102 106
     public static function form($name, $action, $method = 'post', $parameters = '', array $flags = [])
103 107
     {
104 108
         if (!isset($flags['tokenize']) || !is_bool($flags['tokenize'])) {
@@ -166,6 +170,9 @@  discard block
 block discarded – undo
166 170
         return static::inputField($name, $value, $parameters, 'password', false);
167 171
     }
168 172
 
173
+    /**
174
+     * @param string $type
175
+     */
169 176
     protected static function selectionField($name, $type, $value = '', $checked = false, $parameters = '')
170 177
     {
171 178
         $selection = '<input type="' . static::output($type) . '" name="' . static::output($name) . '"';
@@ -187,6 +194,9 @@  discard block
 block discarded – undo
187 194
         return $selection;
188 195
     }
189 196
 
197
+    /**
198
+     * @param string $name
199
+     */
190 200
     public static function checkboxField($name, $value = '', $checked = false, $parameters = '')
191 201
     {
192 202
         return static::selectionField($name, 'checkbox', $value, $checked, $parameters);
@@ -197,6 +207,9 @@  discard block
 block discarded – undo
197 207
         return static::selectionField($name, 'radio', $value, $checked, $parameters);
198 208
     }
199 209
 
210
+    /**
211
+     * @param string $name
212
+     */
200 213
     public static function textareaField($name, $width, $height, $text = '', $parameters = '', $reinsert_value = true, $class = 'form-control')
201 214
     {
202 215
         $field = '<textarea name="' . static::output($name) . '" cols="' . static::output($width) . '" rows="' . static::output($height) . '"';
Please login to merge, or discard this patch.
catalog/includes/OSC/OM/OSCOM.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -78,6 +78,9 @@
 block discarded – undo
78 78
         return Registry::get('Site')->getPage()->isRPC();
79 79
     }
80 80
 
81
+    /**
82
+     * @param string $parameters
83
+     */
81 84
     public static function link($page, $parameters = null, $connection = 'NONSSL', $add_session_id = true, $search_engine_safe = true)
82 85
     {
83 86
         global $request_type;
Please login to merge, or discard this patch.
catalog/includes/OSC/OM/PagesAbstract.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -81,6 +81,9 @@
 block discarded – undo
81 81
         }
82 82
     }
83 83
 
84
+    /**
85
+     * @param string $action
86
+     */
84 87
     public function actionExists($action)
85 88
     {
86 89
         if (class_exists($action)) {
Please login to merge, or discard this patch.
catalog/includes/OSC/OM/Registry.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -12,6 +12,9 @@  discard block
 block discarded – undo
12 12
 {
13 13
     private static $data = [];
14 14
 
15
+    /**
16
+     * @param string $key
17
+     */
15 18
     public static function get($key)
16 19
     {
17 20
         if (!static::exists($key)) {
@@ -23,6 +26,9 @@  discard block
 block discarded – undo
23 26
         return static::$data[$key];
24 27
     }
25 28
 
29
+    /**
30
+     * @param string $key
31
+     */
26 32
     public static function set($key, $value, $force = false)
27 33
     {
28 34
         if (!is_object($value)) {
Please login to merge, or discard this patch.
catalog/includes/OSC/OM/SitesAbstract.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -8,8 +8,6 @@
 block discarded – undo
8 8
 
9 9
 namespace OSC\OM;
10 10
 
11
-use OSC\OM\HTML;
12
-
13 11
 abstract class SitesAbstract implements \OSC\OM\SitesInterface
14 12
 {
15 13
     protected $code;
Please login to merge, or discard this patch.
catalog/includes/OSC/Sites/Admin/Admin.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,6 @@
 block discarded – undo
12 12
 use OSC\OM\Cache;
13 13
 use OSC\OM\Db;
14 14
 use OSC\OM\Hooks;
15
-use OSC\OM\OSCOM;
16 15
 use OSC\OM\Registry;
17 16
 
18 17
 class Admin extends \OSC\OM\SitesAbstract
Please login to merge, or discard this patch.
catalog/includes/OSC/Sites/Shop/Pages/Account/Actions/LogIn.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,6 @@
 block discarded – undo
9 9
 namespace OSC\Sites\Shop\Pages\Account\Actions;
10 10
 
11 11
 use OSC\OM\OSCOM;
12
-use OSC\OM\Registry;
13 12
 
14 13
 class LogIn extends \OSC\OM\PagesActionsAbstract
15 14
 {
Please login to merge, or discard this patch.