Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Code Lines | 6 |
Lines | 8 |
Ratio | 100 % |
Changes | 0 |
1 | <?php |
||
36 | View Code Duplication | public function testCanCreate() |
|
37 | { |
||
38 | $object = $this->objFromFixture('RecentBlogPostsBlock', 'one'); |
||
39 | $admin = $this->objFromFixture('Member', 'admin'); |
||
40 | $this->assertTrue($object->canCreate($admin)); |
||
41 | $member = $this->objFromFixture('Member', 'default'); |
||
42 | $this->assertTrue($object->canCreate($member)); |
||
43 | } |
||
44 | } |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.