Completed
Pull Request — master (#20)
by Pavel
04:45
created
app/src/Console/Traits/DbHelper.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
 
55 55
     /**
56 56
      * @param $name
57
-     * @param $table
57
+     * @param string $table
58 58
      * @return bool
59 59
      */
60 60
     private function isRowExist($name, $table)
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
 
66 66
     /**
67 67
      * @param $name
68
-     * @param $table
68
+     * @param string $table
69 69
      */
70 70
     private function insertRow($name, $table)
71 71
     {
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
 
77 77
     /**
78 78
      * @param $name
79
-     * @param $table
79
+     * @param string $table
80 80
      */
81 81
     private function deleteRow($name, $table)
82 82
     {
Please login to merge, or discard this patch.
app/src/Schema/MediaFileSchema.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -108,12 +108,12 @@
 block discarded – undo
108 108
     public function getAttributes($entity)
109 109
     {
110 110
         return [
111
-			'file'	     => (string)$entity->file,
112
-			'file_info'	 => json_decode($entity->file_info),
113
-			'created_by' => (integer)$entity->created_by,
114
-			'updated_by' => (integer)$entity->updated_by,
115
-			'created_at' => Carbon::parse($entity->created_at)->setTimezone('UTC')->format(Carbon::ISO8601),
116
-			'updated_at' => Carbon::parse($entity->updated_at)->setTimezone('UTC')->format(Carbon::ISO8601),
111
+            'file'	     => (string)$entity->file,
112
+            'file_info'	 => json_decode($entity->file_info),
113
+            'created_by' => (integer)$entity->created_by,
114
+            'updated_by' => (integer)$entity->updated_by,
115
+            'created_at' => Carbon::parse($entity->created_at)->setTimezone('UTC')->format(Carbon::ISO8601),
116
+            'updated_at' => Carbon::parse($entity->updated_at)->setTimezone('UTC')->format(Carbon::ISO8601),
117 117
         ];
118 118
     }
119 119
 }
Please login to merge, or discard this patch.
app/src/Model/MediaFile.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -22,12 +22,12 @@
 block discarded – undo
22 22
     protected $table = 'media_files';
23 23
 
24 24
     protected $fillable = [
25
-		'file',
26
-		'file_info',
27
-		'created_by',
28
-		'updated_by',
29
-		'created_at',
30
-		'updated_at',
25
+        'file',
26
+        'file_info',
27
+        'created_by',
28
+        'updated_by',
29
+        'created_at',
30
+        'updated_at',
31 31
     ];
32 32
 
33 33
     private static $allowedMimeTypes = [
Please login to merge, or discard this patch.