File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3131use PhrozenByte \PHPUnitArrayAsserts \Constraint \SequentialArray ;
3232use Traversable ;
3333
34+ /**
35+ * A set of array-related assertion methods.
36+ *
37+ * This trait implements an assertion method and constraint creation method per
38+ * implemented constraint, namely
39+ *
40+ * - the `assertAssociativeArray` and `associativeArray` methods for
41+ * {@class PhrozenByte\PHPUnitArrayAsserts\Constraint\AssociativeArray},
42+ * - the `assertArrayHasKeyWith` and `arrayHasKeyWith` methods for
43+ * {@class PhrozenByte\PHPUnitArrayAsserts\Constraint\ArrayHasKeyWith},
44+ * - the `assertSequentialArray` and `sequentialArray` methods for
45+ * {@class PhrozenByte\PHPUnitArrayAsserts\Constraint\SequentialArray}, and
46+ * - the `assertArrayHasItemWith` and `arrayHasItemWith` methods for
47+ * {@class PhrozenByte\PHPUnitArrayAsserts\Constraint\ArrayHasItemWith}.
48+ */
3449trait ArrayAssertsTrait
3550{
3651 /**
Original file line number Diff line number Diff line change 2222/**
2323 * A set of array-related assertion methods.
2424 *
25- * This static class just uses the {@class ArrayAssertsTrait} trait. Refer to
26- * {@class ArrayAssertsTrait} for more info.
25+ * This static class just uses the ` ArrayAssertsTrait` trait. Refer to
26+ * {@class PhrozenByte\PHPUnitArrayAsserts\ ArrayAssertsTrait} for more info.
2727 */
2828class Assert
2929{
You can’t perform that action at this time.
0 commit comments