Issues (35)

Script/Repository/Insert.php (1 issue)

1
<?php
2
3
namespace Sludio\HelperBundle\Script\Repository;
4
5
use Doctrine\Common\Persistence\Mapping\ClassMetadata;
6
use Sludio\HelperBundle\Script\Utils\Helper;
7
use Doctrine\ORM\EntityManagerInterface;
8
use Symfony\Component\DependencyInjection\ContainerAwareTrait;
9
10
class Insert
11
{
12
    use ContainerAwareTrait;
13
14
    protected $manager;
15
    protected $connection;
16
17
    /**
18
     * Insert constructor.
19
     *
20
     * @param string|null|EntityManagerInterface $manager
21
     */
22
    public function __construct($manager = null)
0 ignored issues
show
The parameter $manager is not used and could be removed. ( Ignorable by Annotation )

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

22
    public function __construct(/** @scrutinizer ignore-unused */ $manager = null)

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
23
    {
24
25
    }
26
27
}
28