Completed
Push — master ( 4b8bb5...60b638 )
by Alexey
04:19
created
system/modules/Db/objects/Mysql/Query.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -29,6 +29,9 @@  discard block
 block discarded – undo
29 29
     public $params = [];
30 30
     public $distinct = false;
31 31
 
32
+    /**
33
+     * @param  $instance
34
+     */
32 35
     function __construct($instance = null)
33 36
     {
34 37
         if (!$instance) {
@@ -47,6 +50,9 @@  discard block
 block discarded – undo
47 50
         return $this->curInstance->pdo->lastInsertId();
48 51
     }
49 52
 
53
+    /**
54
+     * @param string $table
55
+     */
50 56
     public function select($table)
51 57
     {
52 58
         $this->operation = 'SELECT';
Please login to merge, or discard this patch.
system/Inji/Msg.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
             if (!empty($_SESSION['_INJI_MSG'])) {
23 23
                 foreach ($_SESSION['_INJI_MSG'] as $key => $msg) {
24 24
                     if ($msg['text'] == $text) {
25
-                        $msg['count'] ++;
25
+                        $msg['count']++;
26 26
                         return true;
27 27
                     }
28 28
                 }
Please login to merge, or discard this patch.
system/modules/Ecommerce/models/Item/Offer/Price.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
     static $forms = [
40 40
         'manager' => [
41 41
             'map' => [
42
-                ['price', 'currency_id',],
42
+                ['price', 'currency_id', ],
43 43
                 ['item_offer_price_type_id', 'item_offer_id']
44 44
             ]
45 45
     ]];
Please login to merge, or discard this patch.
system/modules/View/View.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -178,15 +178,15 @@  discard block
 block discarded – undo
178 178
     public function cutTag($source, $rawTag) {
179 179
         $pos = strpos($source, $rawTag) - 1;
180 180
         echo substr($source, 0, $pos);
181
-        return substr($source, ( $pos + strlen($rawTag) + 2));
181
+        return substr($source, ($pos + strlen($rawTag) + 2));
182 182
     }
183 183
 
184 184
     public function getHref($type, $params) {
185 185
         $href = '';
186 186
         if (is_string($params)) {
187
-            $href = ($this->app->type != 'app' ? '/' . $this->app->name : '' ) . $params;
187
+            $href = ($this->app->type != 'app' ? '/' . $this->app->name : '') . $params;
188 188
         } elseif (empty($params['template']) && !empty($params['file'])) {
189
-            $href = ($this->app->type != 'app' ? '/' . $this->app->name : '' ) . $params['file'];
189
+            $href = ($this->app->type != 'app' ? '/' . $this->app->name : '') . $params['file'];
190 190
         } elseif (!empty($params['template']) && !empty($params['file'])) {
191 191
             $href = $this->app->templatesPath . "/{$this->template->name}/{$type}/{$params['file']}";
192 192
         }
@@ -340,7 +340,7 @@  discard block
 block discarded – undo
340 340
                     if (strpos($css, '//') !== false) {
341 341
                         $href = $css;
342 342
                     } else {
343
-                        $href = ($this->app->type != 'app' ? '/' . $this->app->name : '' ) . $css;
343
+                        $href = ($this->app->type != 'app' ? '/' . $this->app->name : '') . $css;
344 344
                     }
345 345
                     $hrefs[$href] = $href;
346 346
                 }
Please login to merge, or discard this patch.