@@ -27,7 +27,7 @@ |
||
27 | 27 | private $posts = []; |
28 | 28 | |
29 | 29 | /** |
30 | - * @param Post[] $postNames |
|
30 | + * @param Post[] $posts |
|
31 | 31 | */ |
32 | 32 | public function __construct(array $posts) |
33 | 33 | { |
@@ -33,7 +33,7 @@ discard block |
||
33 | 33 | $library = new BaseLibrary([]); |
34 | 34 | |
35 | 35 | $this->boolean($library->isPostRegistered('A')) |
36 | - ->isFalse(); |
|
36 | + ->isFalse(); |
|
37 | 37 | |
38 | 38 | $post = new \mock\Matks\MarkdownBlogBundle\Blog\Post( |
39 | 39 | PostTest::getLoremIpsumFilepath(), 'A', '2016-01-02'); |
@@ -41,8 +41,8 @@ discard block |
||
41 | 41 | $library->addPost($post); |
42 | 42 | |
43 | 43 | $this->boolean($library->isPostRegistered('A')) |
44 | - ->isTrue(); |
|
44 | + ->isTrue(); |
|
45 | 45 | $this->object($library->getPostByName('A')) |
46 | - ->isIdentiCalTo($post); |
|
46 | + ->isIdentiCalTo($post); |
|
47 | 47 | } |
48 | 48 | } |
@@ -16,7 +16,7 @@ |
||
16 | 16 | { |
17 | 17 | $this |
18 | 18 | ->exception( |
19 | - function () { |
|
19 | + function() { |
|
20 | 20 | $border = new BasePost('random', 'a', 'b'); |
21 | 21 | } |
22 | 22 | )->hasMessage('random is not a file'); |