File tree Expand file tree Collapse file tree 1 file changed +14
-7
lines changed
Expand file tree Collapse file tree 1 file changed +14
-7
lines changed Original file line number Diff line number Diff line change @@ -41,9 +41,11 @@ abstract class TestCase extends \PHPUnit\Framework\TestCase
4141 protected static $ testDataSets = [];
4242
4343 /**
44- * @param Constraint $constraint
45- * @param InvocationOrder[] $invocationRules
46- * @param mixed[]|null $evaluateParameters
44+ * Mocks a constraint.
45+ *
46+ * @param Constraint $constraint the original constraint
47+ * @param InvocationOrder[] $invocationRules invocation rules for public methods
48+ * @param mixed[]|null $evaluateParameters the expected arguments passed to the `evaluate()` method
4749 *
4850 * @return Constraint
4951 */
@@ -89,9 +91,12 @@ protected function mockConstraint(
8991 }
9092
9193 /**
92- * @param string $testName
94+ * Returns test data sets for a particular test. The test data sets are
95+ * stored in YAML files matching the test's class name.
96+ *
97+ * @param string $testName name of the test
9398 *
94- * @return array[]
99+ * @return array[] test data sets
95100 */
96101 protected function getTestDataSets (string $ testName ): array
97102 {
@@ -138,9 +143,11 @@ protected function getTestDataSets(string $testName): array
138143 }
139144
140145 /**
141- * @param string $input
146+ * Parses a YAML string.
147+ *
148+ * @param string $input YAML string
142149 *
143- * @return mixed
150+ * @return mixed parsed data
144151 *
145152 * @throws YamlParseException
146153 */
You can’t perform that action at this time.
0 commit comments