Completed
Pull Request — master (#162)
by
unknown
02:07
created
src/Behat/Gherkin/Loader/GherkinFileLoader.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
     /**
50 50
      * Checks if current loader supports provided resource.
51 51
      *
52
-     * @param mixed $path Resource to load
52
+     * @param string $path Resource to load
53 53
      *
54 54
      * @return Boolean
55 55
      */
Please login to merge, or discard this patch.
tests/Behat/Gherkin/Keywords/KeywordsTest.php 1 patch
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -13,8 +13,16 @@
 block discarded – undo
13 13
 
14 14
 abstract class KeywordsTest extends \PHPUnit_Framework_TestCase
15 15
 {
16
+    /**
17
+     * @return \Behat\Gherkin\Keywords\KeywordsInterface
18
+     */
16 19
     abstract protected function getKeywords();
17 20
     abstract protected function getKeywordsArray();
21
+
22
+    /**
23
+     * @param string $text
24
+     * @param string $keywordType
25
+     */
18 26
     abstract protected function getSteps($keywords, $text, &$line, $keywordType);
19 27
 
20 28
     public function translationTestDataProvider()
Please login to merge, or discard this patch.
src/Behat/Gherkin/Loader/YamlFileLoader.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
     /**
50 50
      * Checks if current loader supports provided resource.
51 51
      *
52
-     * @param mixed $path Resource to load
52
+     * @param string $path Resource to load
53 53
      *
54 54
      * @return Boolean
55 55
      */
Please login to merge, or discard this patch.
tests/Behat/Gherkin/ParserTest.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -123,6 +123,9 @@  discard block
 block discarded – undo
123 123
         return $this->yaml;
124 124
     }
125 125
 
126
+    /**
127
+     * @param string $fixture
128
+     */
126 129
     protected function parseFixture($fixture)
127 130
     {
128 131
         $file = __DIR__ . '/Fixtures/features/' . $fixture;
@@ -130,6 +133,9 @@  discard block
 block discarded – undo
130 133
         return array($this->getGherkinParser()->parse(file_get_contents($file), $file));
131 134
     }
132 135
 
136
+    /**
137
+     * @param string $etalon
138
+     */
133 139
     protected function parseEtalon($etalon)
134 140
     {
135 141
         $features = $this->getYamlParser()->load(__DIR__ . '/Fixtures/etalons/testFolder/' . $etalon);
Please login to merge, or discard this patch.