Completed
Push — dev5 ( f3ddc1...c580cf )
by Ron
10:16
created
app/Http/Controllers/Customers/CustomerController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -106,7 +106,7 @@
 block discarded – undo
106 106
     //  Toggle whether or not the customer is listed as a user favorite
107 107
     public function toggleFav($action, $id)
108 108
     {
109
-        switch ($action)
109
+        switch($action)
110 110
         {
111 111
             case 'add':
112 112
                 CustomerFavs::create([
Please login to merge, or discard this patch.
database/factories/CustomerNotesFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@
 block discarded – undo
4 4
 
5 5
 use Faker\Generator as Faker;
6 6
 
7
-$factory->define(App\CustomerNotes::class, function (Faker $faker) {
7
+$factory->define(App\CustomerNotes::class, function(Faker $faker) {
8 8
     return [
9 9
         'cust_id' => factory(App\Customers::class)->create()->cust_id,
10 10
         'user_id' => 1,
Please login to merge, or discard this patch.
database/factories/CustomerContactsFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@
 block discarded – undo
4 4
 
5 5
 use Faker\Generator as Faker;
6 6
 
7
-$factory->define(App\CustomerContacts::class, function (Faker $faker) {
7
+$factory->define(App\CustomerContacts::class, function(Faker $faker) {
8 8
     return [
9 9
         'cust_id' => factory(App\Customers::class)->create()->cust_id,
10 10
         'name'    => $faker->name,
Please login to merge, or discard this patch.
database/factories/CustomerFilesFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
     ];
13 13
 });
14 14
 
15
-$factory->define(App\CustomerFiles::class, function (Faker $faker) {
15
+$factory->define(App\CustomerFiles::class, function(Faker $faker) {
16 16
     return [
17 17
         'file_id' => factory(App\Files::class)->create()->file_id,
18 18
         'file_type_id' => 1,
Please login to merge, or discard this patch.
database/factories/FileLinkFilesFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
5 5
 use App\Model;
6 6
 use Faker\Generator as Faker;
7 7
 
8
-$factory->define(App\FileLinkFiles::class, function (Faker $faker) {
8
+$factory->define(App\FileLinkFiles::class, function(Faker $faker) {
9 9
     return [
10 10
         'link_id'  => factory(App\FileLinks::class)->create()->link_id,
11 11
         'file_id'  => factory(App\Files::class)->create()->file_id,
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.