Passed
Push — master ( 073341...6ef52f )
by Alexey
05:07
created
system/modules/Ui/objects/DataManager.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -329,6 +329,9 @@
 block discarded – undo
329 329
         return $rows;
330 330
     }
331 331
 
332
+    /**
333
+     * @param DataManager $dataManager
334
+     */
332 335
     public static function drawCol($item, $colName, $params = [], $dataManager = null, $originalCol = '', $originalItem = null)
333 336
     {
334 337
         $modelName = get_class($item);
Please login to merge, or discard this patch.
system/modules/Sitemap/install_script.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-return function ($step = NULL, $params = []) {
3
+return function($step = NULL, $params = []) {
4 4
 
5 5
     $groups = [
6 6
         [
Please login to merge, or discard this patch.
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-return function ($step = NULL, $params = []) {
3
+return function ($step = null, $params = []) {
4 4
     App::$cur->db->createTable('notifications_notification', [
5 5
         'notification_id' => 'pk',
6 6
         'notification_chanel_id' => 'int(11) UNSIGNED NOT NULL',
Please login to merge, or discard this patch.
system/modules/Db/objects/Mysql/Query.php 2 patches
Upper-Lower-Casing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -184,7 +184,7 @@  discard block
 block discarded – undo
184 184
                             $concatenation = '';
185 185
             }
186 186
 
187
-            if ($this->whereString == NULL) {
187
+            if ($this->whereString == null) {
188 188
                             $this->whereString = ' WHERE ';
189 189
             }
190 190
 
@@ -232,7 +232,7 @@  discard block
 block discarded – undo
232 232
                         $this->whereString .= "{$concatenation} ";
233 233
                     }
234 234
 
235
-                    if ($this->whereString != NULL) {
235
+                    if ($this->whereString != null) {
236 236
                                             $this->whereString .= '(';
237 237
                     } else {
238 238
                                             $this->whereString = 'WHERE (';
@@ -271,7 +271,7 @@  discard block
 block discarded – undo
271 271
                             $concatenation = '';
272 272
             }
273 273
 
274
-            if ($this->havingString == NULL) {
274
+            if ($this->havingString == null) {
275 275
                             $this->havingString = ' HAVING ';
276 276
             }
277 277
 
@@ -319,7 +319,7 @@  discard block
 block discarded – undo
319 319
                         $this->havingString .= "{$concatenation} ";
320 320
                     }
321 321
 
322
-                    if ($this->havingString != NULL) {
322
+                    if ($this->havingString != null) {
323 323
                                             $this->havingString .= '(';
324 324
                     } else {
325 325
                                             $this->havingString = 'HAVING (';
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
     public $distinct = false;
33 33
 
34 34
     /**
35
-     * @param  $instance
35
+     * @param   $instance
36 36
      */
37 37
     public function __construct($instance = null) {
38 38
         if (!$instance) {
Please login to merge, or discard this patch.
system/modules/Money/install_script.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-return function($step = NULL, $params = []) {
3
+return function($step = null, $params = []) {
4 4
     $options = ['max_height' => 1200, 'max_width' => 1200];
5 5
     $types = [
6 6
         [
Please login to merge, or discard this patch.
system/modules/Users/install_script.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-return function($step = NULL, $params = []) {
3
+return function($step = null, $params = []) {
4 4
     $options = ['max_height' => 1200, 'max_width' => 1200];
5 5
     $types = [
6 6
         [
Please login to merge, or discard this patch.
system/Inji/BowerCmd.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -58,6 +58,10 @@
 block discarded – undo
58 58
         self::command('install', false, $path);
59 59
     }
60 60
 
61
+    /**
62
+     * @param string $command
63
+     * @param string $path
64
+     */
61 65
     static function command($command, $needOutput = true, $path = null)
62 66
     {
63 67
         include_once 'composer/vendor/autoload.php';
Please login to merge, or discard this patch.
system/modules/Money/widgets/cabinet/walletBlocked.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
             'start' => $pages->params['start'],
34 34
             'limit' => $pages->params['limit'],
35 35
         ]);
36
-foreach ($histories as $history) {
36
+foreach ($histories as $history) {
37 37
     $amount = $history->amount;
38 38
     $table->addRow([
39 39
         $history->id,
Please login to merge, or discard this patch.