Completed
Push — authenticator-refactor ( 62753b...d89bd1 )
by Damian
05:57
created
src/Dev/FunctionalTest.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -226,7 +226,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
      */
Please login to merge, or discard this patch.
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -5,10 +5,7 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.