Test Setup Failed
Branch master (86f4a4)
by Shawn
04:57
created
app/Console/Commands/DeleteSeparatedAndDestroyedUsers.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@
 block discarded – undo
47 47
 
48 48
     /**
49 49
      * Return list of users who were destroyed.
50
-     * @return mixed
50
+     * @return Collection
51 51
      */
52 52
     public function getDestroyed()
53 53
     {
Please login to merge, or discard this patch.
app/Console/Commands/RenewTraining.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -129,8 +129,8 @@
 block discarded – undo
129 129
 
130 130
     /**
131 131
      * @param $trainingUser
132
-     * @param $dueDate
133
-     * @return static
132
+     * @param Carbon $dueDate
133
+     * @return TrainingUser
134 134
      */
135 135
     private function createRecord($trainingUser, $dueDate)
136 136
     {
Please login to merge, or discard this patch.
app/Console/Commands/SendReminders.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -135,7 +135,7 @@
 block discarded – undo
135 135
 
136 136
     /**
137 137
      * Take a list of notes and return a list of supervisors related to those notes.
138
-     * @return static
138
+     * @return Collection
139 139
      */
140 140
     private function getSupervisors()
141 141
     {
Please login to merge, or discard this patch.
app/Console/Commands/UpdateDuty.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
 
33 33
     /**
34 34
      * Execute the console command.
35
-     * @return mixed
35
+     * @return UpdateDuty
36 36
      */
37 37
     public function handle()
38 38
     {
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
 
113 113
     /**
114 114
      * @param $duty
115
-     * @param $date
115
+     * @param Carbon $date
116 116
      * @return string
117 117
      */
118 118
     private function generateICS($duty, $date)
@@ -168,7 +168,7 @@  discard block
 block discarded – undo
168 168
     /**
169 169
      * @param $duty
170 170
      * @param $usersDateArray
171
-     * @return mixed
171
+     * @return UpdateDuty
172 172
      */
173 173
     private function sendUsersUpcomingEmailNotification($duty, $usersDateArray)
174 174
     {
Please login to merge, or discard this patch.
app/Handlers/Calendar/Calendar.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -62,6 +62,9 @@
 block discarded – undo
62 62
         }
63 63
     }
64 64
 
65
+    /**
66
+     * @param string $date
67
+     */
65 68
     private function pushToArray($list, array $columnName, $date) {
66 69
         $array = [];
67 70
 
Please login to merge, or discard this patch.
app/Handlers/Duty/DutyList.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
     /**
41 41
      * @param array $dateArray
42 42
      * @param array $IDArray
43
-     * @param $type
43
+     * @param string $type
44 44
      */
45 45
     public function processSwapRequest(array $dateArray, array $IDArray, $type)
46 46
     {
Please login to merge, or discard this patch.
app/Handlers/Duty/DutyUsers.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
 
43 43
     /**
44 44
      * Generate a collection to be used for emails. View is either emails.duty_future or emails.duty_today
45
-     * @return mixed
45
+     * @return \Illuminate\Support\Collection
46 46
      */
47 47
     public function emailOutput()
48 48
     {
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
 
59 59
     /**
60 60
      * Get function for the list. List is stored on the helper class.
61
-     * @return mixed
61
+     * @return Collection
62 62
      */
63 63
     public function getList()
64 64
     {
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
 
77 77
     /**
78 78
      * Get the current user in our database who is working the duty roster
79
-     * @return mixed
79
+     * @return DutyUsers
80 80
      */
81 81
     public function getLastWorked()
82 82
     {
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
 
88 88
     /**
89 89
      * Get a list of all users for a specific duty sorted by the user's last name
90
-     * @return mixed
90
+     * @return DutyUsers
91 91
      */
92 92
     public function queryList()
93 93
     {
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
 
98 98
     /**
99 99
      * Take our list of users and merge them with dates so that each user is assigned a duty date.
100
-     * @return Collection
100
+     * @return DutyUsers
101 101
      */
102 102
     public function combineListWithDates()
103 103
     {
Please login to merge, or discard this patch.
app/Http/Controllers/AttachmentController.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@  discard block
 block discarded – undo
15 15
     /**
16 16
      * Currently only called from the Training page via the sidebar upload.
17 17
      * @param $request
18
-     * @return Response
18
+     * @return \Illuminate\Http\RedirectResponse
19 19
      */
20 20
     public function store(Request $request) {
21 21
         $data = $request->all();
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
     /**
47 47
      * Let the browser download the file.
48 48
      * @param $fileId
49
-     * @return mixed
49
+     * @return Response
50 50
      */
51 51
     public function show($fileId)
52 52
     {
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
     /**
77 77
      * Remove the specified resource from storage.
78 78
      * @param  $fileId
79
-     * @return Response
79
+     * @return \Illuminate\Http\RedirectResponse
80 80
      */
81 81
     public function destroy($fileId)
82 82
     {
Please login to merge, or discard this patch.
app/Http/Controllers/SettingController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
      * Update the specified resource in storage.
37 37
      *
38 38
      * @param  \Illuminate\Http\Request $request
39
-     * @return \Illuminate\Http\Response
39
+     * @return \Illuminate\Http\RedirectResponse
40 40
      */
41 41
     public function update(Request $request)
42 42
     {
Please login to merge, or discard this patch.