Completed
Push — master ( edd274...661a86 )
by Jeff
06:44
created
models/ContentType.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -142,7 +142,7 @@  discard block
 block discarded – undo
142 142
     {
143 143
         $types = self::find()->all();
144 144
 
145
-        return array_filter($types, function ($t) use ($selfUpdate, $usableOnly) {
145
+        return array_filter($types, function($t) use ($selfUpdate, $usableOnly) {
146 146
             return ($selfUpdate === null || $t->selfUpdate == $selfUpdate) && (!$usableOnly || ($t->usable && $t->enabled));
147 147
         });
148 148
     }
@@ -177,7 +177,7 @@  discard block
 block discarded – undo
177 177
     {
178 178
         $types = self::find()->all();
179 179
 
180
-        return array_filter(array_map(function ($t) {
180
+        return array_filter(array_map(function($t) {
181 181
             return $t->input == self::KINDS['FILE'] ? $t->id : null;
182 182
         }, $types));
183 183
     }
Please login to merge, or discard this patch.
models/Device.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@
 block discarded – undo
67 67
     /**
68 68
      * Get last inserted AUTO_INCREMENT id from database.
69 69
      *
70
-     * @return int last insert id
70
+     * @return string last insert id
71 71
      */
72 72
     public function getLastId()
73 73
     {
Please login to merge, or discard this patch.
config/web.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-$params = require __DIR__ . '/params.php';
4
-$db = require __DIR__ . '/db.php';
3
+$params = require __DIR__.'/params.php';
4
+$db = require __DIR__.'/db.php';
5 5
 
6 6
 $config = [
7 7
     'id' => 'lcds',
Please login to merge, or discard this patch.