@@ -253,7 +253,7 @@ |
||
| 253 | 253 | ['0.html', '0'], |
| 254 | 254 | ['1.html', '1'], |
| 255 | 255 | ], |
| 256 | - 'request' => '', // empty - in order to request the index |
|
| 256 | + 'request' => '', // empty - in order to request the index |
|
| 257 | 257 | 'interpretation' => [ |
| 258 | 258 | ['success', 'body', 'equals', '1'], |
| 259 | 259 | ['failure', 'body', 'equals', '0'], |
@@ -33,13 +33,13 @@ |
||
| 33 | 33 | ['index2.html', "1"] |
| 34 | 34 | ], |
| 35 | 35 | 'request' => [ |
| 36 | - 'url' => '', // We request the index, that is why its empty |
|
| 36 | + 'url' => '', // We request the index, that is why its empty |
|
| 37 | 37 | 'bypass-standard-error-handling' => ['404'] |
| 38 | 38 | ], |
| 39 | 39 | 'interpretation' => [ |
| 40 | 40 | ['success', 'body', 'equals', '1'], |
| 41 | 41 | ['failure', 'body', 'equals', '0'], |
| 42 | - ['failure', 'status-code', 'equals', '404'], // "index.html" might not be set to index |
|
| 42 | + ['failure', 'status-code', 'equals', '404'], // "index.html" might not be set to index |
|
| 43 | 43 | ] |
| 44 | 44 | ]; |
| 45 | 45 | |
@@ -249,7 +249,7 @@ |
||
| 249 | 249 | * |
| 250 | 250 | * @return bool|null true=success, false=failure, null=inconclusive |
| 251 | 251 | */ |
| 252 | - /* |
|
| 252 | + /* |
|
| 253 | 253 | public function callMethod($functionCall) |
| 254 | 254 | { |
| 255 | 255 | switch ($functionCall) { |
@@ -144,7 +144,7 @@ |
||
| 144 | 144 | if ($valType == 'string') { |
| 145 | 145 | $match = self::evaluateConditionForString($operator, $valString, $arg1); |
| 146 | 146 | } elseif ($valType == 'hash') { |
| 147 | - $match = self::evaluateConditionForHash($operator, $valHash, $arg1, $arg2); |
|
| 147 | + $match = self::evaluateConditionForHash($operator, $valHash, $arg1, $arg2); |
|
| 148 | 148 | } |
| 149 | 149 | if ($match) { |
| 150 | 150 | return $result; |