@@ -29,6 +29,7 @@ discard block |
||
| 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 |
||
| 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 | { |
@@ -97,7 +97,7 @@ |
||
| 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)); |