Completed
Pull Request — master (#107)
by Tim
23:41 queued 15:32
created
app/Http/Controllers/StaffController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@
 block discarded – undo
72 72
 
73 73
         $injectionData = ['user' => $user, 'password' => $mail_password];
74 74
 
75
-        Mail::send('emails.new_user', $injectionData, function ($m) use ($user, $mailbox) {
75
+        Mail::send('emails.new_user', $injectionData, function($m) use ($user, $mailbox) {
76 76
             $m->from($mailbox);
77 77
             $m->to($user->email)->subject('Your user credentials!');
78 78
         });
Please login to merge, or discard this patch.
app/Console/Kernel.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
      * @var array
14 14
      */
15
-    protected $commands = [ ];
15
+    protected $commands = [];
16 16
 
17 17
     /**
18 18
      * Define the application's command schedule.
Please login to merge, or discard this patch.
app/Http/Controllers/SettingsController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
             'm.d.Y' => '12.23.2010',
39 39
         );
40 40
 
41
-        $data['time_formats'] = array (
41
+        $data['time_formats'] = array(
42 42
             'H:i' => '23:00',
43 43
             'h:ia' => '11:00pm',
44 44
             'h:iA' => '11:00PM',
Please login to merge, or discard this patch.
app/Http/TransformersApi/Relations/DepartmentManager.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
     public function transform(Departments $manager)
21 21
     {
22 22
         return [
23
-            'id'   => (int)    $manager->id,
23
+            'id'   => (int) $manager->id,
24 24
         ];
25 25
     }
26 26
 }
27 27
\ No newline at end of file
Please login to merge, or discard this patch.
app/Http/TransformersApi/DepartmentOutput.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
     public function transform(Departments $department)
28 28
     {
29 29
         return [
30
-            'id'           => (int)    $department->id,
30
+            'id'           => (int) $department->id,
31 31
             'name'         => (string) $department->department_name,
32 32
             'managers'     => (string) $department->department_manager,
33 33
             'description'  => (string) $department->department_description
Please login to merge, or discard this patch.
app/Http/Controllers/ApiDepartmentsController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -137,7 +137,7 @@
 block discarded – undo
137 137
      */
138 138
     public function destroy($id)
139 139
     {
140
-        if (! empty($id)) {
140
+        if (!empty($id)) {
141 141
             Departments::destroy($id);
142 142
 
143 143
             $data = [];
Please login to merge, or discard this patch.