Completed
Push — master ( d1cf7d...6fa968 )
by Sebastien
03:22
created
lib/Cerbere/Model/Hacked/HackedProject.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -364,7 +364,7 @@
 block discarded – undo
364 364
      * @param string $storage
365 365
      * @param string $file
366 366
      *
367
-     * @return bool|string
367
+     * @return string|false
368 368
      */
369 369
     public function getFileLocation($storage = 'local', $file)
370 370
     {
Please login to merge, or discard this patch.
lib/Cerbere/Event/CerbereHackedListener.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -75,8 +75,7 @@
 block discarded – undo
75 75
 
76 76
         try {
77 77
             $result = $hacked->computeReport();
78
-        }
79
-        catch (\Exception $e) {
78
+        } catch (\Exception $e) {
80 79
             // Todo: log error.
81 80
             $result['status'] = HackedProject::STATUS_UNCHECKED;
82 81
         }
Please login to merge, or discard this patch.