Completed
Push — dev5 ( f3ddc1...c580cf )
by Ron
10:16
created
migrations/2019_09_03_173156_modify_tech_tips_add_documentation.php 2 patches
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -15,9 +15,9 @@
 block discarded – undo
15 15
     {
16 16
         //
17 17
         Schema::table('tech_tips', function(Blueprint $table) 
18
-          {
19
-              $table->boolean('documentation')->default(0)->nullable()->after('public');
20
-          });
18
+            {
19
+                $table->boolean('documentation')->default(0)->nullable()->after('public');
20
+            });
21 21
     }
22 22
 
23 23
     /**
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -14,8 +14,7 @@
 block discarded – undo
14 14
     public function up()
15 15
     {
16 16
         //
17
-        Schema::table('tech_tips', function(Blueprint $table) 
18
-          {
17
+        Schema::table('tech_tips', function(Blueprint $table) {
19 18
               $table->boolean('documentation')->default(0)->nullable()->after('public');
20 19
           });
21 20
     }
Please login to merge, or discard this patch.
app/TechTips.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@
 block discarded – undo
7 7
 class TechTips extends Model
8 8
 {
9 9
     protected $primaryKey = 'tip_id';
10
-    protected $fillable = ['user_id', 'subject', 'documentation', 'description', 'created_at'];  // ToDo:  Remove Created_at - future build
10
+    protected $fillable = ['user_id', 'subject', 'documentation', 'description', 'created_at']; // ToDo:  Remove Created_at - future build
11 11
     
12 12
     public function user()
13 13
     {
Please login to merge, or discard this patch.
app/Http/Controllers/TechTips/TechTipsController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
         
111 111
         //  Get the types of documents that can be filtered
112 112
 //        $fileTypes = SystemFileTypes::all();
113
-        $typesArr  = ['Tech Tip', 'Documentation'];
113
+        $typesArr = ['Tech Tip', 'Documentation'];
114 114
 //        foreach($fileTypes as $type)
115 115
 //        {
116 116
 //            $typesArr[] = $type->description;
@@ -274,7 +274,7 @@  discard block
 block discarded – undo
274 274
     
275 275
     public function search(Request $request)
276 276
     {
277
-        Log::debug('request Data -> '. $request->getContent());
277
+        Log::debug('request Data -> '.$request->getContent());
278 278
         $tips = [];
279 279
             
280 280
         //  Determine if the search form is empty or has data in it
Please login to merge, or discard this patch.