Conditions | 2 |
Paths | 2 |
Total Lines | 15 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
55 | public static function buildPostMocks($count) |
||
56 | { |
||
57 | $result = []; |
||
58 | for ($i = 1; $i <= $count; ++$i) { |
||
59 | $name = 'a'.$i; |
||
60 | |||
61 | $result[$name] = new \mock\Matks\MarkdownBlogBundle\Blog\Post( |
||
62 | static::getLoremIpsumFilepath(), |
||
63 | $name, |
||
64 | 'b' |
||
65 | ); |
||
66 | } |
||
67 | |||
68 | return $result; |
||
69 | } |
||
70 | } |
||
71 |