@@ -226,7 +226,7 @@ discard block |
||
| 226 | 226 | * Find an attribute in a SimpleXMLElement object by name. |
| 227 | 227 | * @param SimpleXMLElement $object |
| 228 | 228 | * @param string $attribute Name of attribute to find |
| 229 | - * @return SimpleXMLElement object of the attribute |
|
| 229 | + * @return boolean object of the attribute |
|
| 230 | 230 | */ |
| 231 | 231 | public function findAttribute($object, $attribute) |
| 232 | 232 | { |
@@ -260,7 +260,7 @@ discard block |
||
| 260 | 260 | * Note: characters are stripped from the content; make sure that your assertions take this into account. |
| 261 | 261 | * |
| 262 | 262 | * @param string $selector A basic CSS selector, e.g. 'li.jobs h3' |
| 263 | - * @param array|string $expectedMatches The content of at least one of the matched tags |
|
| 263 | + * @param string[] $expectedMatches The content of at least one of the matched tags |
|
| 264 | 264 | * @param string $message |
| 265 | 265 | * @throws PHPUnit_Framework_AssertionFailedError |
| 266 | 266 | */ |
@@ -5,10 +5,7 @@ |
||
| 5 | 5 | use SilverStripe\Control\Session; |
| 6 | 6 | use SilverStripe\Control\HTTPResponse; |
| 7 | 7 | use SilverStripe\Core\Config\Config; |
| 8 | -use SilverStripe\ORM\DataObject; |
|
| 9 | 8 | use SilverStripe\Security\BasicAuth; |
| 10 | -use SilverStripe\Security\Member; |
|
| 11 | -use SilverStripe\Security\Security; |
|
| 12 | 9 | use SilverStripe\Security\SecurityToken; |
| 13 | 10 | use SilverStripe\View\SSViewer; |
| 14 | 11 | use PHPUnit_Framework_AssertionFailedError; |