Passed
Push — dev5 ( b08d9a...c43caf )
by Ron
04:08
created
app/Http/Controllers/FileLinks/FileLinksController.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
             $id = Auth::user()->user_id;
57 57
         }
58 58
         //  If the user is trying to pull someone elses links, they must be able to manage users
59
-        else if ($id != Auth::user()->user_id)
59
+        else if($id != Auth::user()->user_id)
60 60
         {
61 61
             $this->authorize('hasAccess', 'manage_users');
62 62
         }
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
             //  Verify that the upload is valid and being processed
95 95
             if($receiver->isUploaded() === false)
96 96
             {
97
-                Log::error('Upload File Missing - ' .
97
+                Log::error('Upload File Missing - '.
98 98
                 /** @scrutinizer ignore-type */
99 99
                 $request->toArray());
100 100
                 throw new UploadMissingFileException();
Please login to merge, or discard this 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/Files.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -23,6 +23,10 @@
 block discarded – undo
23 23
     }
24 24
 
25 25
     //  Remove any illegal characters from filename and make sure it is unique
26
+
27
+    /**
28
+     * @return string
29
+     */
26 30
     public static function cleanFileName($path, $fileName)
27 31
     {
28 32
         //  Remove all spaces
Please login to merge, or discard this patch.
app/Http/Controllers/TechTips/TechTipsController.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -233,6 +233,10 @@
 block discarded – undo
233 233
     }
234 234
         
235 235
     //  Create the tech tip
236
+
237
+    /**
238
+     * @param Request $tipData
239
+     */
236 240
     private function createTip($tipData)
237 241
     {
238 242
         //  Remove any forward slash (/) from the Subject Field
Please login to merge, or discard this patch.