Completed
Push — master ( d1442e...fddef8 )
by Nils
02:20
created
src/Rules/CheckResult.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,6 +29,7 @@  discard block
 block discarded – undo
29 29
      * @param $status
30 30
      * @param $value
31 31
      * @param $message
32
+     * @param string $url
32 33
      */
33 34
     public function __construct($status, $message = '', $value = null, $url = null)
34 35
     {
@@ -47,7 +48,7 @@  discard block
 block discarded – undo
47 48
     }
48 49
 
49 50
     /**
50
-     * @param array $attributes
51
+     * @param array $attribute
51 52
      */
52 53
     public function addAttribute(Attribute $attribute)
53 54
     {
Please login to merge, or discard this patch.
src/Scanner/Scanner.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -97,7 +97,7 @@
 block discarded – undo
97 97
             } catch (ValidationFailedException $e) {
98 98
                 $result = new CheckResult(CheckResult::STATUS_FAILURE, $e->getMessage());
99 99
             } catch (\Exception $e) {
100
-                $result = new CheckResult(CheckResult::STATUS_FAILURE, 'An error occured: ' . $e->getMessage());
100
+                $result = new CheckResult(CheckResult::STATUS_FAILURE, 'An error occured: '.$e->getMessage());
101 101
             }
102 102
 
103 103
             $this->eventDispatcher->simpleNotify('Scanner.CheckResponse.Rule', array('checkResult' => $result));
Please login to merge, or discard this patch.