Passed
Push — dev5 ( 1140b1...da16e0 )
by Ron
09:38
created
app/Http/Controllers/FileLinks/FileLinksController.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -166,6 +166,10 @@
 block discarded – undo
166 166
     }
167 167
 
168 168
     //  Create the new file link
169
+
170
+    /**
171
+     * @param Request $data
172
+     */
169 173
     private function createLink($data)
170 174
     {
171 175
         //  Generate a random hash to use as the file link and make sure it is not already in use
Please login to merge, or discard this patch.
app/Http/Controllers/FileLinks/GuestLinksController.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -119,6 +119,10 @@
 block discarded – undo
119 119
     }
120 120
 
121 121
     //  Save the file in the database
122
+
123
+    /**
124
+     * @param Request $request
125
+     */
122 126
     private function saveFile(UploadedFile $file, $id, $request)
123 127
     {
124 128
         $details = FileLinks::where('link_hash', $id)->first();
Please login to merge, or discard this patch.
app/Console/Commands/backupRestore.php 1 patch
Doc Comments   +8 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
     /**
43 43
      * Execute the console command.
44 44
      *
45
-     * @return mixed
45
+     * @return integer
46 46
      */
47 47
     public function handle()
48 48
     {
@@ -128,6 +128,9 @@  discard block
 block discarded – undo
128 128
         }
129 129
     }
130 130
 
131
+    /**
132
+     * @param string $disk
133
+     */
131 134
     protected function clearAllFiles($disk)
132 135
     {
133 136
         $files = Storage::disk($disk)->files();
@@ -145,6 +148,10 @@  discard block
 block discarded – undo
145 148
         }
146 149
     }
147 150
 
151
+    /**
152
+     * @param string $backupFolder
153
+     * @param string $disk
154
+     */
148 155
     protected function copyAllFiles($backupFolder, $disk)
149 156
     {
150 157
         $files = Storage::disk('backup')->allFiles($this->baseName.DIRECTORY_SEPARATOR.$backupFolder);
Please login to merge, or discard this patch.
app/Files.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -14,6 +14,12 @@
 block discarded – undo
14 14
     protected $hidden     = ['created_at', 'updated_at', 'file_link'];
15 15
 
16 16
     //  Remove any illegal characters from filename and make sure it is unique
17
+
18
+    /**
19
+     * @param string $path
20
+     *
21
+     * @return string
22
+     */
17 23
     public static function cleanFileName($path, $fileName)
18 24
     {
19 25
         Log::debug('Preparing to clean a file. Current Name - '.$fileName.'. Current Path - '.$path);
Please login to merge, or discard this patch.
app/Http/Controllers/TechTips/TechTipsController.php 1 patch
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -204,6 +204,10 @@  discard block
 block discarded – undo
204 204
     }
205 205
 
206 206
     //  Create the tech tip
207
+
208
+    /**
209
+     * @param Request $tipData
210
+     */
207 211
     private function createTip($tipData)
208 212
     {
209 213
         //  Remove any forward slash (/) from the Subject Field
@@ -389,6 +393,10 @@  discard block
 block discarded – undo
389 393
     }
390 394
 
391 395
     //  Store the updated tip
396
+
397
+    /**
398
+     * @param Request $tipData
399
+     */
392 400
     public function storeUpdatedTip($tipData, $id)
393 401
     {
394 402
         $this->authorize('hasAccess', 'Edit Tech Tip');
Please login to merge, or discard this patch.
app/Notifications/NewTechTip.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
      * Get the notification's delivery channels.
28 28
      *
29 29
      * @param  mixed  $notifiable
30
-     * @return array
30
+     * @return string[]
31 31
      */
32 32
     public function via($notifiable)
33 33
     {
Please login to merge, or discard this patch.
app/Notifications/NewTechTipComment.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
      * Get the notification's delivery channels.
29 29
      *
30 30
      * @param  mixed  $notifiable
31
-     * @return array
31
+     * @return string[]
32 32
      */
33 33
     public function via($notifiable)
34 34
     {
Please login to merge, or discard this patch.
app/Notifications/NewUserEmail.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,6 +15,7 @@  discard block
 block discarded – undo
15 15
     /**
16 16
      * Create a new notification instance.
17 17
      *
18
+     * @param string $hash
18 19
      * @return void
19 20
      */
20 21
     public function __construct($user, $hash)
@@ -28,7 +29,7 @@  discard block
 block discarded – undo
28 29
      * Get the notification's delivery channels.
29 30
      *
30 31
      * @param  mixed  $notifiable
31
-     * @return array
32
+     * @return string[]
32 33
      */
33 34
     public function via(/** @scrutinizer ignore-unused */$notifiable)
34 35
     {
Please login to merge, or discard this patch.