Completed
Pull Request — master (#201)
by Kevin
02:35
created
lib/AbstractTestCase.php 1 patch
Doc Comments   +19 added lines, -1 removed lines patch added patch discarded remove patch
@@ -175,6 +175,9 @@  discard block
 block discarded – undo
175 175
         }
176 176
     }
177 177
 
178
+    /**
179
+     * @param null|string $selector
180
+     */
178 181
     public function assertElementClickable($selector, $by = WebDriver::BY_ID)
179 182
     {
180 183
         $this->elementAssertion($selector, $by, Clickable::ASSERTION);
@@ -187,6 +190,9 @@  discard block
 block discarded – undo
187 190
 
188 191
     }
189 192
 
193
+    /**
194
+     * @param string $namespace
195
+     */
190 196
     public static function addBaseNamespace($namespace)
191 197
     {
192 198
         if (!in_array($namespace, self::$baseNamespaces)) {
@@ -194,6 +200,9 @@  discard block
 block discarded – undo
194 200
         }
195 201
     }
196 202
 
203
+    /**
204
+     * @param string $prefix
205
+     */
197 206
     public static function resolveClass( $class, $prefix = null)
198 207
     {
199 208
         $origClass = $class;
@@ -235,6 +244,9 @@  discard block
 block discarded – undo
235 244
 
236 245
     }
237 246
 
247
+    /**
248
+     * @return string
249
+     */
238 250
     protected function normalizeClassRequest($class)
239 251
     {
240 252
         return str_replace('/', '\\', $class);
@@ -521,7 +533,7 @@  discard block
 block discarded – undo
521 533
     }
522 534
 
523 535
     /**
524
-     * @param $xpath
536
+     * @param string $xpath
525 537
      * @return \Facebook\WebDriver\Remote\RemoteWebElement
526 538
      */
527 539
 
@@ -550,6 +562,12 @@  discard block
 block discarded – undo
550 562
         return $this->webdriver->byCssSelector($selector);
551 563
     }
552 564
 
565
+    /**
566
+     * @param string $xpathTemplate
567
+     * @param string $text
568
+     * @param string $specificNodeType
569
+     * @param string $parentElementSelector
570
+     */
553 571
     protected function getElementByTextXpath($xpathTemplate, $text, $specificNodeType = null, $parentElementSelector = null)
554 572
     {
555 573
 
Please login to merge, or discard this patch.