@@ -15,7 +15,6 @@ |
||
| 15 | 15 | protected $contentTypes = array('text/html'); |
| 16 | 16 | |
| 17 | 17 | /** |
| 18 | - * @param int $string The string that the document must contain |
|
| 19 | 18 | */ |
| 20 | 19 | public function init(array $regExs) |
| 21 | 20 | { |
@@ -72,6 +72,9 @@ |
||
| 72 | 72 | $this->output->writeln(''); |
| 73 | 73 | } |
| 74 | 74 | |
| 75 | + /** |
|
| 76 | + * @param integer $ruleKey |
|
| 77 | + */ |
|
| 75 | 78 | private function getFailedUrls($ruleKey) |
| 76 | 79 | { |
| 77 | 80 | $failedUrls = array(); |
@@ -246,6 +246,10 @@ |
||
| 246 | 246 | } |
| 247 | 247 | } |
| 248 | 248 | |
| 249 | + /** |
|
| 250 | + * @param string $identifier |
|
| 251 | + * @param string $message |
|
| 252 | + */ |
|
| 249 | 253 | private function send($identifier, $system, $message, $status, $url = '', $value = 0, $tool = null) |
| 250 | 254 | { |
| 251 | 255 | if (is_null($tool)) { |
@@ -43,6 +43,11 @@ |
||
| 43 | 43 | return json_decode($systems->getBody(), true); |
| 44 | 44 | } |
| 45 | 45 | |
| 46 | + /** |
|
| 47 | + * @param string $url |
|
| 48 | + * |
|
| 49 | + * @return string |
|
| 50 | + */ |
|
| 46 | 51 | private function prepareUrl($url) |
| 47 | 52 | { |
| 48 | 53 | $preparedUrl = str_replace('#project#', $this->project, $url); |
@@ -158,7 +158,7 @@ discard block |
||
| 158 | 158 | } |
| 159 | 159 | |
| 160 | 160 | /** |
| 161 | - * @param $section |
|
| 161 | + * @param string $section |
|
| 162 | 162 | * |
| 163 | 163 | * @return array |
| 164 | 164 | */ |
@@ -171,6 +171,9 @@ discard block |
||
| 171 | 171 | } |
| 172 | 172 | } |
| 173 | 173 | |
| 174 | + /** |
|
| 175 | + * @param string $name |
|
| 176 | + */ |
|
| 174 | 177 | public function getExtension($name) |
| 175 | 178 | { |
| 176 | 179 | if (array_key_exists($name, $this->extensions)) { |
@@ -16,7 +16,6 @@ |
||
| 16 | 16 | protected $contentTypes = array('text/html', 'application/json', 'application/xml'); |
| 17 | 17 | |
| 18 | 18 | /** |
| 19 | - * @param int $string The string that the document must contain |
|
| 20 | 19 | */ |
| 21 | 20 | public function init(array $regExs) |
| 22 | 21 | { |
@@ -18,7 +18,6 @@ |
||
| 18 | 18 | private $maxCookies; |
| 19 | 19 | |
| 20 | 20 | /** |
| 21 | - * @param int $maxDuration The maximum duration a http call is allowed to take (time to first byte) |
|
| 22 | 21 | */ |
| 23 | 22 | public function init($maxElements = 20) |
| 24 | 23 | { |
@@ -27,6 +27,9 @@ discard block |
||
| 27 | 27 | $this->strictMode = $strictMode; |
| 28 | 28 | } |
| 29 | 29 | |
| 30 | + /** |
|
| 31 | + * @param boolean $isIndex |
|
| 32 | + */ |
|
| 30 | 33 | private function getSchema($isIndex) |
| 31 | 34 | { |
| 32 | 35 | if ($isIndex) { |
@@ -41,8 +44,8 @@ discard block |
||
| 41 | 44 | } |
| 42 | 45 | |
| 43 | 46 | /** |
| 44 | - * @param $body |
|
| 45 | - * @param $filename |
|
| 47 | + * @param string $body |
|
| 48 | + * @param string $filename |
|
| 46 | 49 | * @param bool $isIndex |
| 47 | 50 | * @throws ValidationFailedException |
| 48 | 51 | */ |
@@ -42,6 +42,7 @@ discard block |
||
| 42 | 42 | * @param $status |
| 43 | 43 | * @param $value |
| 44 | 44 | * @param $message |
| 45 | + * @param string $url |
|
| 45 | 46 | */ |
| 46 | 47 | public function __construct($status, $message = '', $value = null, $url = null) |
| 47 | 48 | { |
@@ -73,7 +74,7 @@ discard block |
||
| 73 | 74 | } |
| 74 | 75 | |
| 75 | 76 | /** |
| 76 | - * @param Attribute $attributes |
|
| 77 | + * @param Attribute $attribute |
|
| 77 | 78 | */ |
| 78 | 79 | public function addAttribute(Attribute $attribute) |
| 79 | 80 | { |
@@ -136,7 +137,7 @@ discard block |
||
| 136 | 137 | } |
| 137 | 138 | |
| 138 | 139 | /** |
| 139 | - * @param string $identifier |
|
| 140 | + * @param string $identifierRule |
|
| 140 | 141 | */ |
| 141 | 142 | public function setIdentifierRule($identifierRule) |
| 142 | 143 | { |