Issues (3627)

CoreBundle/Tests/_support/Helper/Functional.php (1 issue)

1
<?php
2
3
namespace Mautic\CoreBundle\Helper;
4
5
// here you can define custom actions
6
// all public methods declared in helper class will be available in $I
7
8
class Functional extends \Codeception\Module
9
{
10
    public function getParameterFromContainer($service)
11
    {
12
        return $this->getModule('Symfony2')->_getContainer()->getParameter($service);
0 ignored issues
show
The method _getContainer() does not exist on Codeception\Module. Did you maybe mean _getConfig()? ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-call  annotation

12
        return $this->getModule('Symfony2')->/** @scrutinizer ignore-call */ _getContainer()->getParameter($service);

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.

Loading history...
13
    }
14
}
15